You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Dockerfile 580B

12345678910111213141516171819202122232425
  1. FROM debian:stretch
  2. ARG CONFIG_DIR=/etc/default/config-files/
  3. RUN apt-get update &&\
  4. apt-get install -y wget ssmtp rsnapshot cron &&\
  5. apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* && \
  6. rm /etc/cron.*/*
  7. RUN wget -O /tmp/rclone.deb 'https://downloads.rclone.org/v1.47.0/rclone-v1.47.0-linux-amd64.deb' && \
  8. dpkg -i /tmp/rclone.deb && rm /tmp/rclone.deb
  9. COPY ./vars-vars /etc/vars-vars
  10. COPY ./vars-files /etc/vars-files
  11. COPY ./common.sh /common.sh
  12. COPY run.sh /run.sh
  13. RUN mkdir "${CONFIG_DIR}"
  14. COPY ./config "${CONFIG_DIR}"
  15. CMD ["/run.sh"]