Skip to content

Commit

Permalink
build: bump distroless image to bookworm as well
Browse files Browse the repository at this point in the history
Wrong version of glibc in debian11 caused resulting Docker container
image to fail on launch.
  • Loading branch information
stigok committed Dec 19, 2023
1 parent f47920d commit bcc3610
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 @@ -16,7 +16,7 @@ RUN go mod download -x
COPY . /go/src/app
RUN make GO_FLAGS="-buildvcs=false" test build

FROM gcr.io/distroless/base-debian11
FROM gcr.io/distroless/base-debian12
COPY --from=build /go/src/app/terraform-registry /bin/
COPY --from=build /usr/local/bin/dumb-init /bin/
USER nonroot
Expand Down

0 comments on commit bcc3610

Please sign in to comment.