Adding cert files to support https
[aaf/sms.git] / sms-service / bin / quorumdockerfile
index 2e1a191..3b787d7 100644 (file)
@@ -1,9 +1,13 @@
 FROM alpine:3.7
 
-LABEL name="aaf-sms"
-LABEL version=1.0.0
+LABEL name="aaf-sms-quorumclient"
+LABEL version=2.0.0
 LABEL maintainer="Girish Havaldar <hg0071052@techmahindra.com>"
 
-ADD quorumclient /smsquorum/bin/quorumclient
-RUN chmod +x /smsquorum/bin/quorumclient
-ENTRYPOINT ["/smsquorum/bin/quorumclient"]
+RUN mkdir -p /quorumclient/auth
+ADD aaf_root_ca.cer /quorumclient/cert/aaf_root_ca.cer
+ADD quorumclient /quorumclient/bin/quorumclient
+RUN chmod +x /quorumclient/bin/quorumclient
+
+WORKDIR /quorumclient
+ENTRYPOINT ["/quorumclient/bin/quorumclient"]