sourcegraph/docker-images
Ólafur Páll Geirsson 107f56ee41
Highlighting: add Ruby and Python tree-sitter support (#48672)
Follow-up from https://github.com/sourcegraph/sourcegraph/pull/47571 now
that we can use grammars with C++ dependencies.

Example Ruby highlighting

![CleanShot 2023-03-04 at 13 02
32@2x](https://user-images.githubusercontent.com/1408093/222900091-6e9fe60b-2edf-4ede-ae95-966b4166013f.png)

Example Python highlighting

![CleanShot 2023-03-04 at 13 03
52@2x](https://user-images.githubusercontent.com/1408093/222900100-070c59fe-48b3-44a2-a5aa-aa0be277107c.png)


## Test plan

Updated snapshots.

<!-- All pull requests REQUIRE a test plan:
https://docs.sourcegraph.com/dev/background-information/testing_principles
-->
2023-03-06 17:48:01 +08:00
..
alpine-3.14 Use curl from edge/main (#48134) 2023-02-23 18:36:05 +00:00
blobstore Use new base image with curl from edge/main (#48144) 2023-02-23 19:40:07 +00:00
cadvisor Resolve vulnerabilities in containers by updating dependencies (#46330) 2023-02-16 16:34:38 +00:00
codeinsights-db Swap codeinsights-db docker image to be based off postgres instead of Timescale (#32697) 2022-03-24 18:42:05 +00:00
codeintel-db Update Postgres to 12.7 (#31933) 2022-03-03 14:39:52 -06:00
executor-vm executors: Publish VM image to docker hub (#41231) 2022-09-05 15:37:21 +02:00
grafana Use new base image with curl from edge/main (#48144) 2023-02-23 19:40:07 +00:00
indexed-searcher unrevert "all: rename go module google/zoekt to sourcegraph/zoekt" (#40423) 2022-08-17 15:30:49 -07:00
jaeger-agent Use new base image with curl from edge/main (#48144) 2023-02-23 19:40:07 +00:00
jaeger-all-in-one Use new base image with curl from edge/main (#48144) 2023-02-23 19:40:07 +00:00
node-exporter Upgrade node-exporter (#46553) 2023-01-17 11:13:38 -03:00
opentelemetry-collector Use new base image with curl from edge/main (#48144) 2023-02-23 19:40:07 +00:00
postgres_exporter Use new base image with curl from edge/main (#48144) 2023-02-23 19:40:07 +00:00
postgres-12-alpine Resolve vulnerabilities in containers by updating dependencies (#46330) 2023-02-16 16:34:38 +00:00
prometheus Use new base image with curl from edge/main (#48144) 2023-02-23 19:40:07 +00:00
prometheus-gcp docker-images: use managed prom forwarding image (#39722) 2022-08-23 21:03:15 +00:00
redis_exporter updating redis_exporter image (#39623) 2022-08-15 18:40:18 -04:00
redis-cache Update SSL dependencies (#48025) 2023-02-22 12:34:19 +00:00
redis-store Update SSL dependencies (#48025) 2023-02-22 12:34:19 +00:00
search-indexer unrevert "all: rename go module google/zoekt to sourcegraph/zoekt" (#40423) 2022-08-17 15:30:49 -07:00
sg sg: add Dockerfile and build script (#32326) 2022-03-08 16:54:50 +01:00
syntax-highlighter Highlighting: add Ruby and Python tree-sitter support (#48672) 2023-03-06 17:48:01 +08: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.