diff --git a/Dockerfile b/Dockerfile index 0396bc1..c9ca77f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 #################