mirror of
https://github.com/cloudnative-pg/plugin-barman-cloud.git
synced 2026-01-12 05:33:11 +01:00
fix: add back /usr/local/bin
Signed-off-by: Niccolò Fei <niccolo.fei@enterprisedb.com>
This commit is contained in:
parent
146550cb1c
commit
6e41a87f83
@ -29,7 +29,7 @@ RUN --mount=type=cache,target=/go/pkg/mod --mount=type=cache,target=/root/.cache
|
|||||||
FROM gcr.io/distroless/static:nonroot
|
FROM gcr.io/distroless/static:nonroot
|
||||||
|
|
||||||
ENV SUMMARY="CloudNativePG Barman plugin" \
|
ENV SUMMARY="CloudNativePG Barman plugin" \
|
||||||
DESCRIPTION="Container image that provides the barman-cloud plugin" \
|
DESCRIPTION="Container image that provides the barman-cloud plugin"
|
||||||
|
|
||||||
LABEL summary="$SUMMARY" \
|
LABEL summary="$SUMMARY" \
|
||||||
description="$DESCRIPTION" \
|
description="$DESCRIPTION" \
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
# Sidecar
|
# Sidecar
|
||||||
# The container needs to provides and build two components:
|
# The container needs to provide and build two components:
|
||||||
# * barman-cloud
|
# * barman-cloud
|
||||||
# * instance plugin
|
# * instance plugin
|
||||||
# Both components are built before going into a distroless container
|
# Both components are built before going into a distroless container
|
||||||
@ -16,7 +16,7 @@ RUN apt-get update && \
|
|||||||
pip install barman[azure,cloud,google,snappy]==3.11.1 setuptools
|
pip install barman[azure,cloud,google,snappy]==3.11.1 setuptools
|
||||||
# Prepare a new /usr/ directory with the files we'll need in the final image
|
# Prepare a new /usr/ directory with the files we'll need in the final image
|
||||||
RUN mkdir /new-usr/ && \
|
RUN mkdir /new-usr/ && \
|
||||||
cp -r --parents /usr/local/lib/ /usr/lib/*-linux-gnu/ \
|
cp -r --parents /usr/local/lib/ /usr/lib/*-linux-gnu/ /usr/local/bin/ \
|
||||||
/new-usr/
|
/new-usr/
|
||||||
|
|
||||||
# Build instance
|
# Build instance
|
||||||
@ -36,7 +36,7 @@ RUN --mount=type=cache,target=/go/pkg/mod --mount=type=cache,target=/root/.cache
|
|||||||
FROM gcr.io/distroless/python3:debug
|
FROM gcr.io/distroless/python3:debug
|
||||||
|
|
||||||
ENV SUMMARY="CloudNativePG Barman plugin" \
|
ENV SUMMARY="CloudNativePG Barman plugin" \
|
||||||
DESCRIPTION="Container image that provides the barman-cloud sidecar" \
|
DESCRIPTION="Container image that provides the barman-cloud sidecar"
|
||||||
|
|
||||||
LABEL summary="$SUMMARY" \
|
LABEL summary="$SUMMARY" \
|
||||||
description="$DESCRIPTION" \
|
description="$DESCRIPTION" \
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user