Skip to content

Commit

Permalink
Use debian12 for distroless/cc
Browse files Browse the repository at this point in the history
This commit resolves the following error: libc.so.6: version `GLIBC_2.34' not found
  • Loading branch information
caipira113 committed Sep 25, 2023
1 parent 296f1d7 commit b94ba70
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 cargo chef cook --release --recipe-path recipe.json
COPY . .
RUN cargo build --release

FROM gcr.io/distroless/cc:nonroot AS runtime
FROM gcr.io/distroless/cc-debian12:nonroot AS runtime
WORKDIR /app

COPY --from=builder /app/target/release/verstream ./
Expand Down

0 comments on commit b94ba70

Please sign in to comment.