feat: add build-script, explicitly specify client version
This commit is contained in:
parent
8efd42599a
commit
b3641b7a87
12
Dockerfile
12
Dockerfile
@ -1,11 +1,13 @@
|
|||||||
from debian
|
FROM debian
|
||||||
|
|
||||||
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y wget lftp mariadb-client
|
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y wget lftp mariadb-client
|
||||||
|
|
||||||
RUN TF=`mktemp` &&\
|
ARG CLIENT_VERSION
|
||||||
wget "https://hndl.urbackup.org/Client/latest/update/UrBackupUpdateLinux.sh" -O $TF &&\
|
|
||||||
sh $TF silent &&\
|
RUN TF=`mktemp` && \
|
||||||
rm $TF
|
wget "https://hndl.urbackup.org/Client/${CLIENT_VERSION}/UrBackup%20Client%20Linux%20${CLIENT_VERSION}.sh" -O $TF && \
|
||||||
|
sh $TF silent && \
|
||||||
|
rm $TF
|
||||||
|
|
||||||
EXPOSE 35621/TCP 35622/UDP 35623/TCP
|
EXPOSE 35621/TCP 35622/UDP 35623/TCP
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user