mirror of
https://github.com/cloudnative-pg/plugin-barman-cloud.git
synced 2026-09-04 22:22:21 +02:00
chores(dept): includes tar into sidecar image
Signed-off-by: Tao Li <tao.li@enterprisedb.com>
This commit is contained in:
parent
585be09c70
commit
3d96b6ba0c
@ -76,7 +76,7 @@ RUN mkdir -p /dependencies /build/downloads && \
|
||||
$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 2>/dev/null | grep "^\w" | sort -u | \
|
||||
libpq5 liblz4-1 libsnappy1v5 tar 2>/dev/null | grep "^\w" | sort -u | \
|
||||
grep -v -F -x -f /tmp/distroless.txt > /tmp/packages.txt && \
|
||||
apt-get download $(cat /tmp/packages.txt) && \
|
||||
for deb in *.deb; do \
|
||||
@ -102,6 +102,7 @@ LABEL summary="$SUMMARY" \
|
||||
|
||||
COPY --from=pythonbuilder /venv /venv
|
||||
COPY --from=pythonbuilder /dependencies/usr/lib /usr/lib
|
||||
COPY --from=pythonbuilder /dependencies/usr/bin/tar /usr/bin/tar
|
||||
COPY --from=gobuilder /workspace/manager /manager
|
||||
|
||||
# Compile all Python bytecode as root to avoid runtime compilation
|
||||
|
||||
Loading…
Reference in New Issue
Block a user