Remove root cert from quorum client image
[aaf/sms.git] / sms-service / bin / quorumdockerfile
1 FROM alpine:3.7
2
3 LABEL name="aaf-sms-quorumclient"
4 LABEL version=4.0.0
5 LABEL maintainer="Girish Havaldar <hg0071052@techmahindra.com>"
6 RUN addgroup aaf && adduser -H -D -g "" -G aaf aaf && \
7     mkdir -p /quorumclient/auth && \
8     mkdir -p /quorumclient/certs && \
9     chown -R aaf:aaf /quorumclient
10 ADD quorumclient /quorumclient/bin/quorumclient
11 RUN chmod +x /quorumclient/bin/quorumclient
12 USER aaf
13 WORKDIR /quorumclient
14 ENTRYPOINT ["/quorumclient/bin/quorumclient"]