You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

22 lines
455 B

  1. FROM golang:1.7-alpine
  2. RUN apk add --update \
  3. git \
  4. && rm -rf /var/cache/apk/*
  5. RUN go get github.com/bifurcation/mint
  6. # Draft 18
  7. ARG REVISION=52f9f98
  8. RUN cd /go/src/github.com/bifurcation/mint && git fetch https://github.com/FiloSottile/mint
  9. RUN cd /go/src/github.com/bifurcation/mint && git checkout $REVISION
  10. ADD mint-client.go /mint-client.go
  11. RUN GOBIN=/ go install /mint-client.go
  12. ENV MINT_LOG=*
  13. ADD run.sh /run.sh
  14. ENTRYPOINT ["/run.sh"]