cacert-devsetup/gosigner.Dockerfile
2021-01-04 08:11:23 +01:00

20 lines
361 B
Docker

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"]