aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordglFromAtt <dgl@research.att.com>2018-04-27 09:20:41 -0400
committerdglFromAtt <dgl@research.att.com>2018-04-27 09:20:49 -0400
commit330bf04056a0cdd8a45d4de35e9611e52da214bf (patch)
tree72f0cd4a4f5a9062e92da18fa134cd0a35d2c275
parent038b4a47c7194b51106cf2c325078924403defea (diff)
Correct perm on keystore
Also, include version.properties in image Change-Id: Ic6cf34b82a541016c2e5ef8e68005f913a7a4aa5 Signed-off-by: dglFromAtt <dgl@research.att.com> Issue-ID: DMAAP-435
-rw-r--r--Dockerfile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
index 8c4eb17..09c5aa3 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -19,6 +19,8 @@ COPY target/buscontroller.jar ${insdir}/lib/
COPY misc/LocalKey ${insdir}/etc/
COPY misc/logback.xml ${insdir}/etc/
COPY misc/dbc-api.jks ${insdir}/etc/keystore
+RUN chmod 600 ${insdir}/etc/keystore
+COPY ./version.properties ${insdir}/etc
COPY misc/opensource.env ${insdir}/misc/
COPY misc/*.tmpl ${insdir}/misc/
COPY misc/cert-client-init.sh ${insdir}/misc/