summaryrefslogtreecommitdiffstats
path: root/tls-init-container/Dockerfile-template
diff options
context:
space:
mode:
Diffstat (limited to 'tls-init-container/Dockerfile-template')
-rw-r--r--tls-init-container/Dockerfile-template2
1 files changed, 1 insertions, 1 deletions
diff --git a/tls-init-container/Dockerfile-template b/tls-init-container/Dockerfile-template
index a3c3a3f..767aa1f 100644
--- a/tls-init-container/Dockerfile-template
+++ b/tls-init-container/Dockerfile-template
@@ -17,7 +17,7 @@
# ============LICENSE_END=========================================================
FROM busybox
RUN mkdir -p /opt/tls/source && mkdir -p /opt/tls/shared
-RUN base64 -d ./tls/trust.jks.b64 > ./tls/trust.jks && base64 -d ./tls/cert.jks.b64 > ./tls/cert.jks && base64 -d ./tls/cert.p12.b64 > ./tls/cert.p12
COPY ./tls /opt/tls/source
+RUN base64 -d /opt/tls/source/trust.jks.b64 > /opt/tls/source/trust.jks && base64 -d /opt/tls/source/cert.jks.b64 > /opt/tls/source/cert.jks && base64 -d /opt/tls/source/cert.p12.b64 > /opt/tls/source/cert.p12
COPY setup-tls.sh /opt/tls
ENTRYPOINT ["/opt/tls/setup-tls.sh"]