th5/_dev/mint/Dockerfile
2017-09-05 20:29:43 +01:00

22 lines
419 B
Docker

FROM golang:1.7-alpine
RUN apk add --update \
git \
&& rm -rf /var/cache/apk/*
RUN go get github.com/bifurcation/mint
# Draft 18
ARG REVISION=271abd1
RUN cd /go/src/github.com/bifurcation/mint && git fetch
RUN cd /go/src/github.com/bifurcation/mint && git checkout $REVISION
ADD mint-client.go /mint-client.go
RUN GOBIN=/ go install /mint-client.go
ENV MINT_LOG=*
ADD run.sh /run.sh
ENTRYPOINT ["/run.sh"]