sourcegraph/docker-images
Robert Lin 05e523a550
prometheus: support regex silencing of alerts (#14474)
This change allows us to perform regex silences in `observability.silenceAlerts`.
2020-10-08 10:18:20 +08:00
..
alpine docker-images: release sourcegraph/alpine:3.12 (#13233) 2020-08-21 13:25:14 -07:00
cadvisor codenotify: add bobheadxi subscriptions, fix entry (#14080) 2020-09-22 20:04:30 -07:00
codeintel-db chore: Set exec bit on docker-images/codeintel-db/build.sh (#13955) 2020-09-18 10:22:27 -05:00
grafana Update grafana/grafana Docker tag to v7.2.0 (#13579) 2020-10-05 16:41:40 +08:00
ignite-ubuntu codeintel: Fix weird spacing in JSON literal in Dockerfile (#13652) 2020-09-07 10:33:10 -05:00
indexed-searcher docker-images: update script for zoekt versions (#12140) 2020-07-14 08:01:03 +02:00
jaeger-agent update other usages of alpine -> sourcegraph/alpine (#13245) 2020-08-21 16:14:09 -07:00
jaeger-all-in-one update other usages of alpine -> sourcegraph/alpine (#13245) 2020-08-21 16:14:09 -07:00
postgres-11.4 docker-images/postgres-11.4: fix image version regression in 3.15 (#10214) 2020-04-27 20:30:02 -07:00
prometheus prometheus: support regex silencing of alerts (#14474) 2020-10-08 10:18:20 +08:00
redis-cache ci: add shellcheck linter for shell scripts (#9903) 2020-04-21 10:03:17 -07:00
redis-store ci: add shellcheck linter for shell scripts (#9903) 2020-04-21 10:03:17 -07:00
search-indexer docker-images: update script for zoekt versions (#12140) 2020-07-14 08:01:03 +02:00
syntax-highlighter Remove non-OSS GraphQL, INI, TOML, Perforce syntax highlighting. (#14456) - take two (#14465) 2020-10-07 12:46:40 -07:00
README.md docker-images: make cadvisor build script executable, update docs (#10940) 2020-05-22 15:27:28 -07: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:

Exception: docker-images/alpine is manually built and pushed as needed.

git checkout master
cd docker-images/alpine
IMAGE=sourcegraph/alpine:$MY_VERSION ./build.sh
VERSION=$MY_VERSION ./release.sh

Note: $MY_VERSION above should reflect the underlying Alpine version. If changes are made without altering the underlying Alpine version, then bump the suffix. For example, use 3.10-1, 3.10-2, and so on. To find the current version, consult https://hub.docker.com/r/sourcegraph/alpine

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 allDockerImages.