resticker-pg/Dockerfile
2025-03-01 17:32:03 +11:00

13 lines
No EOL
320 B
Docker

#
# Custom resticker docker image with pg_dump support without needing to mount
# docker.sock
#
FROM mazzolino/restic:pr-225
RUN apk update \
&& apk add --no-cache postgresql-client tini \
&& rm -rf /var/cache/apk/*
COPY bin/dump_pg_db.sh /usr/local/bin/dump_pg_db.sh
RUN chmod +x /usr/local/bin/dump_pg_db.sh