Skip to content

Commit 51e4dc0

Browse files
fcanovaiNiccoloFei
andauthored
chore: update sidecar Dockerfile to use renovate (#135)
Rework the Dockerfile to list Python dependencies. Those can be updated using renovate. Signed-off-by: Francesco Canovai <[email protected]> Signed-off-by: Niccolò Fei <[email protected]> Co-authored-by: Niccolò Fei <[email protected]>
1 parent 9ba6351 commit 51e4dc0

File tree

4 files changed

+539
-1
lines changed

4 files changed

+539
-1
lines changed

containers/Dockerfile.sidecar

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,12 @@ RUN --mount=type=cache,target=/go/pkg/mod --mount=type=cache,target=/root/.cache
3838
# we should build and then copy every file into a destination that will
3939
# then copy into the distroless container
4040
FROM python:3.13-slim AS pythonbuilder
41+
COPY containers/sidecar-requirements.txt .
4142
RUN apt-get update && \
4243
apt-get install -y postgresql-common build-essential && \
4344
/usr/share/postgresql-common/pgdg/apt.postgresql.org.sh -y && \
4445
apt-get install -y libpq-dev && \
45-
pip install barman[azure,cloud,google,snappy]==3.11.1 setuptools
46+
pip install -r sidecar-requirements.txt
4647
# Prepare a new /usr/ directory with the files we'll need in the final image
4748
RUN mkdir /new-usr/ && \
4849
cp -r --parents /usr/local/lib/ /usr/lib/*-linux-gnu/ /usr/local/bin/ \

containers/sidecar-requirements.in

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
barman[azure,cloud,google,snappy]==3.11.1
2+
setuptools==75.8.0
3+
boto3==1.35.99

0 commit comments

Comments
 (0)