Skip to content

Commit

Permalink
Fix MySQL world-writable config warning (google#2712)
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Szakaly <alex.szakaly@gmail.com>
  • Loading branch information
alex1989hu committed Apr 21, 2022
1 parent 5a779b8 commit 1c01aa7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/deployment/docker/db_server/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ FROM gcr.io/trillian-opensource-ci/mysql5:5.7
# 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
COPY storage/mysql/schema/storage.sql /docker-entrypoint-initdb.d/storage.sql
RUN chmod -R 775 /docker-entrypoint-initdb.d

RUN chmod -R 775 /docker-entrypoint-initdb.d && \
chmod 644 /etc/mysql/conf.d/trillian.cnf

0 comments on commit 1c01aa7

Please sign in to comment.