Dockerfile 403 B

12345678910111213141516171819
  1. FROM golang:1.9.2
  2. ENV USER root
  3. WORKDIR /go/src/github.com/cloudflare/cfssl
  4. COPY . .
  5. # restore all deps and build
  6. RUN go get github.com/cloudflare/cfssl_trust/... && \
  7. go get github.com/GeertJohan/go.rice/rice && \
  8. rice embed-go -i=./cli/serve && \
  9. cp -R /go/src/github.com/cloudflare/cfssl_trust /etc/cfssl && \
  10. go install ./cmd/...
  11. EXPOSE 8888
  12. ENTRYPOINT ["cfssl"]
  13. CMD ["--help"]