Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions build/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# syntax=docker/dockerfile:1
# syntax=docker/dockerfile:1@sha256:9857836c9ee4268391bb5b09f9f157f3c91bb15821bb77969642813b0d00518d
# Using version:1 means always getting the latest version of dockerfile syntax within major version 1
# https://docs.docker.com/build/dockerfile/frontend/#stable-channel
# version:1 is still the most popular version
# https://sourcegraph.com/search?q=context:global+%23+syntax%3Ddocker/dockerfile:(.*)&patternType=regexp&sm=0&expanded=&groupBy=group

# Using Ubuntu LTS
FROM ubuntu:22.04 AS base
FROM ubuntu:22.04@sha256:01a3ee0b5e413cefaaffc6abe68c9c37879ae3cced56a8e088b1649e5b269eee AS base

# Using Python Slim base
# https://hub.docker.com/layers/library/python/slim/images/sha256-747576ffc7523e2cc620ae304eb7304cedc8abff915adc77f3ce53a33ad1730d
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
services:

repo-converter:
image: ghcr.io/sourcegraph/repo-converter:latest
image: ghcr.io/sourcegraph/repo-converter:latest@sha256:0232dc8da3a371818eef3731339f48832d90b209af7d6660034565152b068034
volumes:
- ../../../config/repos-to-convert.yaml:/sourcegraph/repos-to-convert.yaml:ro
- ../../../dev/toprc:/root/.config/procps/toprc
Expand Down
6 changes: 3 additions & 3 deletions deploy/docker-compose/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ services:

cloud-agent:
container_name: cloud-agent
image: index.docker.io/sourcegraph/src-tunnel-agent:latest
image: index.docker.io/sourcegraph/src-tunnel-agent:latest@sha256:b95aaff78796a285aed2fc2a4594aff7b5dc96fd112218ba73e7eceb12149e98
volumes:
- ../../config/cloud-agent-service-account-key.json:/sourcegraph/cloud-agent-service-account-key.json:ro
- ../../config/cloud-agent-config.yaml:/sourcegraph/cloud-agent-config.yaml:ro
Expand All @@ -16,7 +16,7 @@ services:

repo-converter:
container_name: repo-converter
image: ghcr.io/sourcegraph/repo-converter:latest
image: ghcr.io/sourcegraph/repo-converter:latest@sha256:0232dc8da3a371818eef3731339f48832d90b209af7d6660034565152b068034
volumes:
- ../../config/repos-to-convert.yaml:/sourcegraph/repos-to-convert.yaml:ro
- ../../src-serve-root/:/sourcegraph/src-serve-root
Expand All @@ -28,7 +28,7 @@ services:
src-serve-git:
# Uses a valid hostname as container_name, to trick the cloud agent and code host config into finding this container on the Docker network
container_name: src-serve-git.local
image: index.docker.io/sourcegraph/src-cli:latest
image: index.docker.io/sourcegraph/src-cli:latest@sha256:190c0e75ae0331ab12d9543bae9ec20e38dbaad3dcdffa904412dad62f0e845e
volumes:
- ../../src-serve-root/:/sourcegraph/src-serve-root:ro
command: "serve-git -addr :443 /sourcegraph/src-serve-root"
Expand Down