pass arg to install.sh

pull/112/head
binhex 3 years ago
parent ef58d375eb
commit 4a2f2efdb7

@ -11,6 +11,9 @@ ADD build/*.conf /etc/supervisor/conf.d/
# add bash scripts to install app
ADD build/root/*.sh /root/
# get release tag name from build arg
ARG release_tag_name
# add run bash scripts
ADD run/nobody/*.sh /home/nobody/
@ -22,7 +25,7 @@ ADD config/nobody/ /home/nobody/
# make executable and run bash scripts to install app
RUN chmod +x /root/*.sh /home/nobody/*.sh && \
/bin/bash /root/install.sh
/bin/bash /root/install.sh "${release_tag_name}"
# docker settings
#################

Loading…
Cancel
Save