kopia/Dockerfile

13 lines
287 B
Text
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
RUN apt-get update && apt-get install -y cron && rm -rf /var/lib/apt/lists/*
ARG KOPIA_CRON_TIMES="*/30 * * * *"
ENV KOPIA_CRON_TIMES ${KOPIA_CRON_TIMES}
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" ]