File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -34,11 +34,15 @@ RUN ldd /workspace/gateway-plugins | awk '{if ($3 ~ /^\//) print $3}' | xargs -I
3434
3535# Use distroless as minimal base image to package the manager binary
3636# Refer to https://github.com/GoogleContainerTools/distroless for more details
37- FROM gcr.io/distroless/base:nonroot
37+ FROM debian:bookworm-slim
38+ RUN apt-get update && apt-get install -y \
39+ libzmq5 \
40+ libkrb5-3 \
41+ libstdc++6 \
42+ && rm -rf /var/lib/apt/lists/*
3843WORKDIR /
3944COPY --from=builder /workspace/gateway-plugins .
40- COPY --from=builder /workspace/deps /gateway-plugins-lib
41- ENV LD_LIBRARY_PATH=/gateway-plugins-lib
45+ RUN groupadd --gid 65532 nonroot && useradd --system --uid 65532 --gid 65532 nonroot
4246USER 65532:65532
4347
4448ENTRYPOINT ["/gateway-plugins"]
You can’t perform that action at this time.
0 commit comments