forked from repo-mirrors/cnpg-postgres-containers
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:
9
Dockerfile.barman
Normal file
9
Dockerfile.barman
Normal 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
|
Reference in New Issue
Block a user