summaryrefslogtreecommitdiffstats
path: root/sms-service/bin/quorumdockerfile
blob: 44c9289f7813e4de769c7054141a5f0417af8096 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
FROM alpine:3.7

LABEL name="aaf-sms-quorumclient"
LABEL version=4.0.0
LABEL maintainer="Girish Havaldar <hg0071052@techmahindra.com>"
RUN addgroup aaf && adduser -H -D -g "" -G aaf aaf && \
    mkdir -p /quorumclient/auth && \
    chown -R aaf:aaf /quorumclient
ADD aaf_root_ca.cer /quorumclient/certs/aaf_root_ca.cer
ADD quorumclient /quorumclient/bin/quorumclient
RUN chmod +x /quorumclient/bin/quorumclient
USER aaf
WORKDIR /quorumclient
ENTRYPOINT ["/quorumclient/bin/quorumclient"]