sourcegraph/docker-images
2022-03-09 20:23:16 +00:00
..
alpine-3.12 dev/check: migrate no-alpine-guard to sg check docker (#31253) 2022-02-16 08:40:41 -08:00
alpine-3.14 dev/check: migrate no-alpine-guard to sg check docker (#31253) 2022-02-16 08:40:41 -08:00
cadvisor dev/sg: check dockerfiles for 'apk add' with version pinning (#31217) 2022-02-15 09:16:17 -08:00
codeinsights-db Remove use of edge repos, pinned versions (#29986) 2022-01-20 13:29:40 -05:00
codeintel-db Update Postgres to 12.7 (#31933) 2022-03-03 14:39:52 -06:00
grafana Update Grafana version (#31326) 2022-02-16 10:55:50 -06:00
indexed-searcher docker-images: update zoekt build scripts for new go.mod (#17654) 2021-01-26 12:10:28 +01:00
jaeger-agent images: update dependencies to always use >= (#29493) 2022-01-06 15:54:09 -08:00
jaeger-all-in-one images: update dependencies to always use >= (#29493) 2022-01-06 15:54:09 -08:00
minio minio: major version update (#29188) 2021-12-17 08:57:20 -06:00
postgres_exporter migrations: Update postgres exporter queries for dirty database (#30774) 2022-02-10 17:40:09 -06:00
postgres-12-alpine Update Postgres to 12.7 (#31933) 2022-03-03 14:39:52 -06:00
prometheus chore: update go-mockgen (#31597) 2022-02-21 19:13:34 -06:00
redis_exporter docker-images/redis-export: mark build.sh executable (#17307) 2021-01-15 10:41:25 +01:00
redis-cache images: update dependencies to always use >= (#29493) 2022-01-06 15:54:09 -08:00
redis-store images: update dependencies to always use >= (#29493) 2022-01-06 15:54:09 -08:00
search-indexer docker-images: update zoekt build scripts for new go.mod (#17654) 2021-01-26 12:10:28 +01:00
sg sg: add Dockerfile and build script (#32326) 2022-03-08 16:54:50 +01:00
syntax-highlighter doc: update syntax-highlighter scalability info (#32359) 2022-03-09 20:23:16 +00:00
README.md docker: bump alpine base image from 3.12 to 3.14 (#28126) 2021-11-25 10:33:17 +01: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 and /enterprise/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.