Skip to content

Commit f908fbc

Browse files
authored
Pin Docker container images by hash (#3678)
1 parent 5a88d3d commit f908fbc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

examples/deployment/docker/db_server/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM mysql:8.4
1+
FROM mysql:8.4@sha256:6bc3ac72e858ad6ecb651229520fe14848b885ed01b3f08e2b201a25a5f49476
22

33
# TODO(roger2hk): Uncomment the below OS-level packages patch command as this is a temporary workaround to bypass the mysql8 gpg key rotation issue.
44
# # Patch the OS-level packages and remove unneeded dependencies.

examples/deployment/docker/db_server/postgresql/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM postgres:latest
1+
FROM postgres:17.1@sha256:163763c8afd28cae69035ce84b12d8180179559c747c0701b3cad17818a0dbc5
22

33
# expects the build context to be: $GOPATH/src/github.com/google/trillian
44
COPY storage/postgresql/schema/storage.sql /docker-entrypoint-initdb.d/storage.sql

0 commit comments

Comments
 (0)