Skip to content

Commit

Permalink
Disable the OS package patches to bypass the mysql8 gpg key rotation …
Browse files Browse the repository at this point in the history
…issue (#3270)
  • Loading branch information
roger2hk authored Jan 9, 2024
1 parent 29373b2 commit 866e89b
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions examples/deployment/docker/db_server/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
FROM gcr.io/trillian-opensource-ci/mysql8:8.0@sha256:89d1c5d48cee111cdc6348704044a60578f5c0af9dfc55b6e58e32a01906bd21

# Patch the OS-level packages and remove unneeded dependencies.
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update \
&& apt-get install -y procps \
&& apt-get -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" upgrade \
&& apt-get -y autoremove \
&& rm -rf /var/lib/apt/lists/*
# TODO(roger2hk): Uncomment the below OS-level packages patch command as this is a temporary workaround to bypass the mysql8 gpg key rotation issue.
# # Patch the OS-level packages and remove unneeded dependencies.
# ENV DEBIAN_FRONTEND=noninteractive
# RUN apt-get update \
# && apt-get install -y procps \
# && apt-get -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" upgrade \
# && apt-get -y autoremove \
# && rm -rf /var/lib/apt/lists/*

# expects the build context to be: $GOPATH/src/github.com/google/trillian
COPY examples/deployment/docker/db_server/mysql.cnf /etc/mysql/conf.d/trillian.cnf
Expand Down

0 comments on commit 866e89b

Please sign in to comment.