Add entrypoint and CA certificates to Dockerfile
This commit is contained in:
parent
b2f69ed2f7
commit
f8cf68af83
@ -4,4 +4,6 @@ COPY . .
|
||||
RUN CGO_ENABLED=0 go build ./cmd/bb
|
||||
|
||||
FROM scratch AS bin
|
||||
COPY --from=build /src/bb /
|
||||
COPY --from=build /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
|
||||
COPY --from=build /src/bb /
|
||||
ENTRYPOINT ["/bb"]
|
||||
|
Loading…
Reference in New Issue
Block a user