urbackup-internet-client/Dockerfile

19 lines
424 B
Text
Raw Normal View History

from debian
2020-02-01 13:07:46 +00:00
2020-02-01 20:27:16 +00:00
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y wget lftp
2020-02-01 13:07:46 +00:00
RUN TF=`mktemp` &&\
wget "https://hndl.urbackup.org/Client/latest/update/UrBackupUpdateLinux.sh" -O $TF &&\
sh $TF silent &&\
rm $TF
2020-02-01 13:07:46 +00:00
EXPOSE 35621/TCP 35622/UDP 35623/TCP
2020-02-01 21:04:44 +00:00
COPY prefilebackup /usr/local/etc/urbackup/
RUN chmod 0700 /usr/local/etc/urbackup/prefilebackup
WORKDIR /app
2020-02-01 21:04:44 +00:00
COPY run.sh /app/
CMD ["sh", "run.sh"]