Skip to content
This repository was archived by the owner on Jun 9, 2024. It is now read-only.

Commit 8090993

Browse files
taktOliver Geiselhardt-Herms
takt
and
Oliver Geiselhardt-Herms
authored
Fix Dockerfile (for real) (#142)
Co-authored-by: Oliver Geiselhardt-Herms <ogeiselhardt-herms@cloudflare.com>
1 parent 3a12872 commit 8090993

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ RUN apk --update --no-cache add git && \
1010
WORKDIR ${src_dir}
1111
COPY . .
1212

13-
RUN go build -ldflags "${LDFLAGS}" cmd/octorpki/*.go
13+
RUN go build -o octorpki -ldflags "${LDFLAGS}" cmd/octorpki/*.go
1414

1515
FROM alpine:latest
1616
ARG src_dir
@@ -21,7 +21,7 @@ RUN apk --update --no-cache add ca-certificates rsync && \
2121
touch rrdp.json && chown rpki rrdp.json
2222
USER rpki
2323

24-
COPY --from=builder ${src_dir}/cmd/octorpki/octorpki ${src_dir}/cmd/octorpki/private.pem /
24+
COPY --from=builder ${src_dir}/octorpki ${src_dir}/cmd/octorpki/private.pem /
2525
COPY --from=builder ${src_dir}/cmd/octorpki/tals /tals
2626

2727
VOLUME ["/cache"]

0 commit comments

Comments
 (0)