docker-backup-postgres/Dockerfile
vincent e10abc5b8d
Some checks reported errors
continuous-integration/drone Build was killed
first commit
2022-10-23 18:29:33 +02:00

14 lines
206 B
Docker

FROM alpine:latest
COPY pg_dump.sh /
ENV \
PGDATABASE="" \
PGHOST="" \
PGPORT="" \
PGUSER="" \
PGPASSWORD=""
RUN apk --no-cache add postgresql-client bash
VOLUME ["/backup"]
CMD ["/pg_dump.sh"]