diff --git a/config/docker-compose-common-services.yaml b/config/docker-compose-common-services.yaml index c39cb92..8d94443 100644 --- a/config/docker-compose-common-services.yaml +++ b/config/docker-compose-common-services.yaml @@ -4,7 +4,7 @@ services: cloud-agent: container_name: cloud-agent - image: index.docker.io/sourcegraph/src-tunnel-agent:2024-02-15-04-02-110c2ea9 + image: index.docker.io/sourcegraph/src-tunnel-agent:2024-02-15-04-02-110c2ea9@sha256:54f3590b4cfd0ad24b0506d44e2dea1df0d777d66792668d4ba88e348cf731f9 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 @@ -16,7 +16,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-ubuntu.local - image: index.docker.io/sourcegraph/src-cli:latest + image: index.docker.io/sourcegraph/src-cli:latest@sha256:f7b721a7152da4f722f2f796c9abebd3330ef937df36145ed8ed4bb63b35bf06 volumes: - ../src-serve-root/:/sourcegraph/src-serve-root:ro command: "serve-git -addr :443 /sourcegraph/src-serve-root" diff --git a/repo-converter/build/Dockerfile b/repo-converter/build/Dockerfile index 1ea2d53..882163a 100644 --- a/repo-converter/build/Dockerfile +++ b/repo-converter/build/Dockerfile @@ -1,11 +1,11 @@ -# syntax=docker/dockerfile:1 +# syntax=docker/dockerfile:1@sha256:fe40cf4e92cd0c467be2cfc30657a680ae2398318afd50b0c80585784c604f28 # 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:340d9b015b194dc6e2a13938944e0d016e57b9679963fdeb9ce021daac430221 as base # Avoid stuck build due to user prompt ARG DEBIAN_FRONTEND=noninteractive diff --git a/repo-converter/docker-compose.yaml b/repo-converter/docker-compose.yaml index 9271e38..7b0e76c 100644 --- a/repo-converter/docker-compose.yaml +++ b/repo-converter/docker-compose.yaml @@ -9,7 +9,7 @@ services: repo-converter: container_name: repo-converter - image: ghcr.io/sourcegraph/implementation-bridge-repo-converter:latest + image: ghcr.io/sourcegraph/implementation-bridge-repo-converter:latest@sha256:14e8a179df19b562da7d640c55f909c56744facbd3c820af0c06abda403692d4 volumes: - ../config/repos-to-convert.yaml:/sourcegraph/repos-to-convert.yaml:ro - ../config/toprc:/root/.config/procps/toprc