1
0
Fork 0
cacert-devsetup/gosigner.Dockerfile

21 lines
361 B
Docker
Raw Normal View History

FROM golang:alpine AS builder
COPY cacert-gosigner /src/
RUN set -ex ; \
cd /src/signer ; \
go build .
FROM alpine/socat:latest
COPY --from=builder /src/signer/signer /app/
COPY docker/run-gosigner usr/local/bin/
COPY docker/signer-config/* /srv/caconfig/
COPY testca /srv/testca/
VOLUME /srv/ca
ENTRYPOINT []
CMD ["/usr/local/bin/run-gosigner"]