This repository has been archived on 2024-12-15. You can view files and clone it, but cannot push or open issues or pull requests.
kopia/Dockerfile

22 lines
470 B
Docker
Raw Normal View History

2023-08-16 20:48:54 +00:00
FROM kopia/kopia
2023-08-17 08:35:51 +00:00
2023-08-17 15:00:22 +00:00
ENV DEBIAN_FRONTEND=noninteractive
2023-08-18 19:19:37 +00:00
RUN apt-get update && apt-get install -y cron postgresql-client && rm -rf /var/lib/apt/lists/*
2023-08-17 15:00:22 +00:00
ARG KOPIA_CRON_SCHEDULE
ENV KOPIA_CRON_SCHEDULE ${KOPIA_CRON_SCHEDULE}
2023-08-17 15:00:22 +00:00
ARG KOPIA_USERNAME
ENV KOPIA_USERNAME ${KOPIA_USERNAME}
ARG KOPIA_HOSTNAME
ENV KOPIA_HOSTNAME ${KOPIA_HOSTNAME}
ARG KOPIA_PASSWORD
ENV KOPIA_PASSWORD ${KOPIA_PASSWORD}
2023-08-17 15:00:22 +00:00
ADD run-backup.sh /
2023-08-17 08:35:51 +00:00
ADD entrypoint.sh /
2023-08-17 10:09:17 +00:00
ENTRYPOINT [ "/entrypoint.sh" ]