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