From fb1735b3b20effc9ab8f0b9ca0697069d0e3e60e Mon Sep 17 00:00:00 2001 From: Ashwini Oruganti Date: Mon, 15 May 2017 21:41:36 -0700 Subject: [PATCH] Update permissions for server and signer. Signed-off-by: Ashwini Oruganti --- server.Dockerfile | 2 ++ signer.Dockerfile | 2 ++ 2 files changed, 4 insertions(+) diff --git a/server.Dockerfile b/server.Dockerfile index 87b96bda2..53f38bb96 100644 --- a/server.Dockerfile +++ b/server.Dockerfile @@ -13,6 +13,8 @@ COPY . /go/src/${NOTARYPKG} WORKDIR /go/src/${NOTARYPKG} +RUN chmod 0600 ./fixtures/database/* + ENV SERVICE_NAME=notary_server EXPOSE 4443 diff --git a/signer.Dockerfile b/signer.Dockerfile index d509c2f65..1760f5299 100644 --- a/signer.Dockerfile +++ b/signer.Dockerfile @@ -13,6 +13,8 @@ COPY . /go/src/${NOTARYPKG} WORKDIR /go/src/${NOTARYPKG} +RUN chmod 0600 ./fixtures/database/* + ENV SERVICE_NAME=notary_signer ENV NOTARY_SIGNER_DEFAULT_ALIAS="timestamp_1" ENV NOTARY_SIGNER_TIMESTAMP_1="testpassword"