sourcegraph/docker-images/codeintel-db
2024-05-16 15:51:16 +01:00
..
BUILD.bazel bazel: transcribe test ownership to bazel tags (#62664) 2024-05-16 15:51:16 +01:00
image_test.yaml bazel: migrate legacy postgres-12 dockerfile to rules_oci (#61963) 2024-05-15 17:32:53 +01:00
README.md bazel: migrate legacy postgres-12 dockerfile to rules_oci (#61963) 2024-05-15 17:32:53 +01:00

codeintel-db

This image provides a Postresql server for the codeintel database for Sourcegraph.

Building and testing

This image comes in two flavours, the old alpine image, and the hardened one, built with Wolfi and Bazel.

Alpine

  • Build: ./docker-images/codeintel-db/build.sh
  • Test: N/A

Hardened

Please note that migrating from the Alpine image, this require a manual step to reindex the database. See the 5.1 upgrade documentation for details.

  • Build: bazel build //docker-images/codeintel-db:image_tarball
  • Test: bazel build //docker-images/codeintel-db:image_test