Start work for using the go based signer
This commit is contained in:
parent
5c924ee206
commit
8fca612a7d
6 changed files with 58 additions and 2 deletions
20
gosigner.Dockerfile
Normal file
20
gosigner.Dockerfile
Normal file
|
@ -0,0 +1,20 @@
|
|||
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"]
|
Loading…
Add table
Add a link
Reference in a new issue