Skip to content

Commit

Permalink
baseimage scratch
Browse files Browse the repository at this point in the history
Signed-off-by: mreise <[email protected]>
  • Loading branch information
mreise authored and mebel123 committed Oct 14, 2024
1 parent 6b7d684 commit a41651c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ COPY ./ ./

RUN CGO_ENABLED=0 go build -o disclosure-cli

FROM gcr.io/distroless/static-debian11
FROM scratch
WORKDIR /
COPY --from=builder /cli/disclosure-cli .
ENTRYPOINT ["/disclosure-cli"]
ENTRYPOINT ["/disclosure-cli"]

0 comments on commit a41651c

Please sign in to comment.