Dockerfile.build 693 B

12345678910111213141516171819202122232425
  1. FROM golang:1.4.3-cross
  2. # Install pkcs11 deps
  3. RUN apt-get update && apt-get install -y \
  4. libltdl-dev \
  5. --no-install-recommends \
  6. && rm -rf /var/lib/apt/lists/*
  7. # TODO: Vendor these `go get` commands using Godep.
  8. RUN go get github.com/mitchellh/gox
  9. RUN go get github.com/tools/godep
  10. RUN go get github.com/cloudflare/cf-tls/tls
  11. RUN go get github.com/cloudflare/go-metrics
  12. RUN go get github.com/cloudflare/redoctober/core
  13. RUN go get github.com/dgryski/go-rc2
  14. RUN go get golang.org/x/crypto/ocsp
  15. RUN go get github.com/GeertJohan/go.rice
  16. ENV GOPATH /go/src/github.com/cloudflare/cfssl:/go
  17. ENV USER root
  18. WORKDIR /go/src/github.com/cloudflare/cfssl
  19. COPY . /go/src/github.com/cloudflare/cfssl