summaryrefslogtreecommitdiffstats
path: root/build/docker/Dockerfile
blob: 511964de8e533054397c08e5b2dd80ac5577a02e (plain)
1
2
3
4
5
6
7
8
9
FROM alpine:3.3
COPY kube2msb /bin/

RUN addgroup -g 1000 msb && \
    adduser -D -u 1000 -G msb msb && \
    chown msb:msb /bin/kube2msb
USER msb

ENTRYPOINT /bin/kube2msb --kube_master_url=${KUBE_MASTER_URL} --auth_token=$(cat /var/run/secrets/kubernetes.io/serviceaccount/token) --msb_url=${MSB_URL}