mirror of
https://github.com/cloudnative-pg/plugin-barman-cloud.git
synced 2026-09-06 15:02:21 +02:00
Compare commits
2 Commits
59324c4a66
...
38b6e07f36
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
38b6e07f36 | ||
|
|
3d96b6ba0c |
@ -63,9 +63,6 @@ RUN python3 -m venv /venv && \
|
||||
# already present in the distroless base image.
|
||||
# Distroless package list from: https://github.com/GoogleContainerTools/distroless/blob/main/base/config.bzl
|
||||
# and https://github.com/GoogleContainerTools/distroless/blob/main/python3/config.bzl
|
||||
# libselinux1/libpcre2-8-0 are pulled in transitively by python3.13-venv's apt metadata,
|
||||
# but the actual distroless base does not ship them, so they are excluded from the
|
||||
# "already present" set below to force them to be bundled (tar needs them at runtime).
|
||||
RUN mkdir -p /dependencies /build/downloads && \
|
||||
cd /build/downloads && \
|
||||
DISTROLESS_PACKAGES="libc6 libssl3t64 libzstd1 zlib1g libgcc-s1 libstdc++6 \
|
||||
@ -76,8 +73,7 @@ RUN mkdir -p /dependencies /build/downloads && \
|
||||
libpython3.13-stdlib python3.13-minimal python3.13-venv" && \
|
||||
apt-cache depends --recurse --no-recommends --no-suggests \
|
||||
--no-conflicts --no-breaks --no-replaces --no-enhances \
|
||||
$DISTROLESS_PACKAGES 2>/dev/null | grep "^\w" | sort -u | \
|
||||
grep -v -x -E 'libselinux1|libpcre2-8-0' > /tmp/distroless.txt && \
|
||||
$DISTROLESS_PACKAGES 2>/dev/null | grep "^\w" | sort -u > /tmp/distroless.txt && \
|
||||
apt-cache depends --recurse --no-recommends --no-suggests \
|
||||
--no-conflicts --no-breaks --no-replaces --no-enhances \
|
||||
libpq5 liblz4-1 libsnappy1v5 tar 2>/dev/null | grep "^\w" | sort -u | \
|
||||
|
||||
Loading…
Reference in New Issue
Block a user