chore: add Barman versions in a container image

Adding the Barman by version and Debian distribution into an image to later
use as a provider to for the system images

Closes #290

Signed-off-by: Jonathan Gonzalez V <jonathan.gonzalez@enterprisedb.com>
This commit is contained in:
Jonathan Gonzalez V
2025-09-06 15:09:05 +02:00
parent 75d5e0f010
commit 1d1ae682b7
2 changed files with 50 additions and 0 deletions

9
Dockerfile.barman Normal file
View File

@@ -0,0 +1,9 @@
ARG BASE=debian:12.11-slim
FROM $BASE AS barman
RUN --mount=type=secret,id=requirements,target=/run/secrets/requirements.txt \
apt-get update && \
apt-get install -y postgresql-common build-essential && \
/usr/share/postgresql-common/pgdg/apt.postgresql.org.sh -y && \
apt-get install -y libpq-dev && \
pip install -r /run/secrets/requirements.txt