only install edge version for postgres client

This commit is contained in:
C.J. May 2025-01-08 00:54:36 -06:00 committed by GitHub
parent ce39af913f
commit e635341ae0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,13 +1,14 @@
FROM restic/restic:0.17.3
RUN echo "http://dl-cdn.alpinelinux.org/alpine/edge/main" >> /etc/apk/repositories
RUN apk update && apk add \
python3 \
py3-pip \
dcron \
mariadb-client \
postgresql-client \
mariadb-connector-c-dev
mariadb-connector-c-dev
RUN echo "http://dl-cdn.alpinelinux.org/alpine/edge/main" >> /etc/apk/repositories
RUN apk update && apk add postgresql-client
ADD . /restic-compose-backup
WORKDIR /restic-compose-backup