Skip to content
Snippets Groups Projects
Commit 0d2ec9b0 authored by lcappelli's avatar lcappelli
Browse files

Change location at the script to install OR-voms

The build-install-openresty-voms.sh script is copied in /usr/local/bin instead ~/bin.

Deleted the addition of ~/bin from PATH env variable.
parent af21c018
No related branches found
No related tags found
1 merge request!19Resolve "Remove dependency from storm2/build project"
...@@ -19,7 +19,7 @@ RUN yum update -y && \ ...@@ -19,7 +19,7 @@ RUN yum update -y && \
sh /tmp/library-script/provide-user.sh ${USERNAME} ${USER_UID} ${USER_GID} && \ sh /tmp/library-script/provide-user.sh ${USERNAME} ${USER_UID} ${USER_GID} && \
yum clean all && rm -rf /var/cache/yum yum clean all && rm -rf /var/cache/yum
COPY --chown=$USERNAME:$USERNAME assets/build-install-openresty-voms.sh /home/$USERNAME/bin/ COPY --chown=$USERNAME:$USERNAME assets/build-install-openresty-voms.sh /usr/local/bin/
USER $USERNAME USER $USERNAME
......
...@@ -59,10 +59,6 @@ if [ -f "\${HOME}/openresty-env" ]; then ...@@ -59,10 +59,6 @@ if [ -f "\${HOME}/openresty-env" ]; then
. \${HOME}/openresty-env . \${HOME}/openresty-env
fi fi
if [ -d \${HOME}/bin ]; then
PATH=\${HOME}/bin:\${PATH}
fi
if [ -n "\${PS1}" ]; then if [ -n "\${PS1}" ]; then
echo echo
echo "To build and install openresty with the ngx_http_voms_module run 'build-install-ngx-voms.sh'" echo "To build and install openresty with the ngx_http_voms_module run 'build-install-ngx-voms.sh'"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment