diff --git a/examples/deployment/docker/db_server/Dockerfile b/examples/deployment/docker/db_server/Dockerfile index 7279dc532b..2511581f7e 100644 --- a/examples/deployment/docker/db_server/Dockerfile +++ b/examples/deployment/docker/db_server/Dockerfile @@ -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