Skip to content

Commit

Permalink
fix: use distroless static vs base
Browse files Browse the repository at this point in the history
  • Loading branch information
astr0n8t committed Aug 27, 2023
1 parent 7350d39 commit 3ff5ec7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ ARG TARGETARCH
RUN CGO_ENABLED=0 GOOS=${TARGETOS} GOARCH=${TARGETARCH} go build -o /dishook

# Deploy the application binary into a lean image
FROM gcr.io/distroless/base-debian11 AS build-release-stage
FROM gcr.io/distroless/static-debian11 AS build-release-stage

WORKDIR /

Expand Down

0 comments on commit 3ff5ec7

Please sign in to comment.