sourcegraph/docker-images
2024-05-28 14:53:52 +00:00
..
alpine-3.14 bazel: use transitions to apply cross-compile platform automatically to oci_image (#60569) 2024-02-20 13:57:56 +00:00
blobstore bazel: Add container test for s3proxy (#62893) 2024-05-24 14:02:37 +01:00
caddy Build our own caddy image (#61881) 2024-04-15 17:10:14 +01:00
cadvisor fix: update links for dev docs (#62758) 2024-05-17 13:47:34 +02:00
codeinsights-db bazel: transcribe test ownership to bazel tags (#62664) 2024-05-16 15:51:16 +01:00
codeintel-db bazel: transcribe test ownership to bazel tags (#62664) 2024-05-16 15:51:16 +01:00
dind Reapply "bazel: migrate dind dockerfile to rules_oci" (#61790) (#61824) 2024-04-12 15:52:44 +00:00
executor-vm Publish sourcegraph-base image (#62002) 2024-04-19 14:44:06 +01:00
grafana fix: update links for dev docs (#62758) 2024-05-17 13:47:34 +02:00
indexed-searcher Publish sourcegraph-base image (#62002) 2024-04-19 14:44:06 +01:00
initcontainer Publish sourcegraph-base image (#62002) 2024-04-19 14:44:06 +01:00
jaeger-agent Build images end-to-end using Bazel v2 (#61845) 2024-04-12 16:18:43 +01:00
jaeger-all-in-one Build images end-to-end using Bazel v2 (#61845) 2024-04-12 16:18:43 +01:00
node-exporter Build images end-to-end using Bazel v2 (#61845) 2024-04-12 16:18:43 +01:00
opentelemetry-collector fix: update links for dev docs (#62758) 2024-05-17 13:47:34 +02:00
postgres_exporter Build images end-to-end using Bazel v2 (#61845) 2024-04-12 16:18:43 +01:00
postgres-12-alpine bazel: migrate legacy postgres-12 dockerfile to rules_oci (#61963) 2024-05-15 17:32:53 +01:00
prometheus fix: update links for dev docs (#62758) 2024-05-17 13:47:34 +02:00
redis_exporter Build images end-to-end using Bazel v2 (#61845) 2024-04-12 16:18:43 +01:00
redis-cache Build images end-to-end using Bazel v2 (#61845) 2024-04-12 16:18:43 +01:00
redis-store Build images end-to-end using Bazel v2 (#61845) 2024-04-12 16:18:43 +01:00
search-indexer Build images end-to-end using Bazel v2 (#61845) 2024-04-12 16:18:43 +01:00
sg bazel: transcribe test ownership to bazel tags (#62664) 2024-05-16 15:51:16 +01:00
syntax-highlighter chore: Bump Rust version 1.73.0 -> 1.78.0 (#62921) 2024-05-28 14:53:52 +00:00
README.md enterprise: Move last directory out (#57392) 2023-10-05 20:15:40 +00:00

Sourcegraph derivative Docker images

This directory contains Sourcegraph docker images which are derivatives of an existing Docker image, but with better defaults for our use cases. For example:

  • sourcegraph/alpine handles setting up a sourcegraph user account, installing common packages.
  • sourcegraph/postgres-11.4 is postgres-11.4 but with some Sourcegraph defaults.

If you are looking for our non-derivative Docker images, see e.g. /cmd/.../Dockerfile instead.

Building

All images in this directory are built and published automatically on CI:

Adding a new image

  1. Create a build.sh and add your publishing script to it - the script should end with docker tag ... "$IMAGE". See the scripts in this directory for examples.
  2. Ensure your new script is executable with chmod +x build.sh (you can try it via e.g. IMAGE=fake-repo/cadvisor:latest docker-images/$SERVICE/build.sh, or by building a test image)
  3. Add an image to the automated builds pipeline by adding it to SourcegraphDockerImages.