From 3a128721ea192775a37d305ce97d39c87066049a Mon Sep 17 00:00:00 2001 From: takt Date: Thu, 27 Apr 2023 11:37:18 +0200 Subject: [PATCH] Fix Dockerfile (#141) Co-authored-by: Oliver Geiselhardt-Herms --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 0c6eddb..bb303b8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,7 +10,7 @@ RUN apk --update --no-cache add git && \ WORKDIR ${src_dir} COPY . . -RUN go build -ldflags "${LDFLAGS}" cmd/octorpki/octorpki.go +RUN go build -ldflags "${LDFLAGS}" cmd/octorpki/*.go FROM alpine:latest ARG src_dir @@ -21,7 +21,7 @@ RUN apk --update --no-cache add ca-certificates rsync && \ touch rrdp.json && chown rpki rrdp.json USER rpki -COPY --from=builder ${src_dir}/octorpki ${src_dir}/cmd/octorpki/private.pem / +COPY --from=builder ${src_dir}/cmd/octorpki/octorpki ${src_dir}/cmd/octorpki/private.pem / COPY --from=builder ${src_dir}/cmd/octorpki/tals /tals VOLUME ["/cache"]