2020-02-01 14:49:30 +00:00
|
|
|
from debian
|
2020-02-01 13:07:46 +00:00
|
|
|
|
2020-02-01 14:49:30 +00:00
|
|
|
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y wget
|
2020-02-01 13:07:46 +00:00
|
|
|
|
|
|
|
RUN TF=`mktemp` &&\
|
|
|
|
wget "https://hndl.urbackup.org/Client/latest/update/UrBackupUpdateLinux.sh" -O $TF &&\
|
2020-02-01 14:49:30 +00:00
|
|
|
sh $TF silent &&\
|
|
|
|
rm $TF
|
2020-02-01 13:07:46 +00:00
|
|
|
|
|
|
|
EXPOSE 35621/TCP 35622/UDP 35623/TCP
|
|
|
|
|
2020-02-01 14:49:30 +00:00
|
|
|
WORKDIR /app
|
|
|
|
COPY run.sh /app
|
|
|
|
|
|
|
|
CMD ["sh", "run.sh"]
|