github.com/Psiphon-Labs/tls-tris@v0.0.0-20230824155421-58bf6d336a9a/_dev/mint/Dockerfile (about) 1 FROM golang:1.7-alpine 2 3 RUN apk add --update \ 4 git \ 5 && rm -rf /var/cache/apk/* 6 7 RUN go get github.com/bifurcation/mint 8 9 # Draft 18 10 ARG REVISION=52f9f98 11 12 RUN cd /go/src/github.com/bifurcation/mint && git fetch https://github.com/FiloSottile/mint 13 RUN cd /go/src/github.com/bifurcation/mint && git checkout $REVISION 14 15 ADD mint-client.go /mint-client.go 16 RUN GOBIN=/ go install /mint-client.go 17 18 ENV MINT_LOG=* 19 20 ADD run.sh /run.sh 21 ENTRYPOINT ["/run.sh"]