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.
snapraid-docker/Dockerfile

17 lines
516 B

# Snapraid 12.0
FROM debian:bullseye
RUN apt update && apt upgrade &&\
apt install python3 git snapraid smartmontools tzdata &&\
git clone https://github.com/Chronial/snapraid-runner.git /app/snapraid-runner && \
chmod +x /app/snapraid-runner/snapraid-runner.py && \
RUN echo '0 3 * * * /usr/bin/python3 /app/snapraid-runner/snapraid-runner.py -c /config/snapraid-runner.conf' > /etc/crontabs/root
VOLUME /mnt /config
COPY /docker-entry.sh /
RUN chmod 755 /docker-entry.sh
CMD ["/docker-entry.sh"]