kopia/Dockerfile

12 lines
287 B
Docker

FROM kopia/kopia
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 /
ADD entrypoint.sh /
ENTRYPOINT [ "/entrypoint.sh" ]