19 lines
424 B
Docker
19 lines
424 B
Docker
from debian
|
|
|
|
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y wget lftp
|
|
|
|
RUN TF=`mktemp` &&\
|
|
wget "https://hndl.urbackup.org/Client/latest/update/UrBackupUpdateLinux.sh" -O $TF &&\
|
|
sh $TF silent &&\
|
|
rm $TF
|
|
|
|
EXPOSE 35621/TCP 35622/UDP 35623/TCP
|
|
|
|
COPY prefilebackup /usr/local/etc/urbackup/
|
|
RUN chmod 0700 /usr/local/etc/urbackup/prefilebackup
|
|
|
|
WORKDIR /app
|
|
COPY run.sh /app/
|
|
|
|
CMD ["sh", "run.sh"]
|