mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
17 lines
372 B
Docker
17 lines
372 B
Docker
FROM golang:1.8.1
|
|
|
|
ENV USER root
|
|
|
|
WORKDIR /go/src/github.com/cloudflare/cfssl
|
|
COPY . .
|
|
|
|
# restore all deps and build
|
|
RUN go get github.com/GeertJohan/go.rice/rice && rice embed-go -i=./cli/serve && \
|
|
cp -R /go/src/github.com/cloudflare/cfssl/vendor/github.com/cloudflare/cfssl_trust /etc/cfssl && \
|
|
go install ./cmd/...
|
|
|
|
EXPOSE 8888
|
|
|
|
ENTRYPOINT ["cfssl"]
|
|
CMD ["--help"]
|