Loading base/entrypoint/Dockerfile +4 −2 Original line number Diff line number Diff line Loading @@ -17,8 +17,10 @@ RUN chmod 755 /entrypoint.sh # Set entrypoint ENTRYPOINT ["/entrypoint.sh"] # Fix line in the lofar init. TODO: check why!! RUN grep -v "measures.directory" /opt/lofar/init.sh > /tmp/init.sh && mv /tmp/init.sh /opt/lofar/init.sh && chmod 755 /opt/lofar/init.sh # Fix lines in the lofar init. TODO: check why!! RUN grep -v "measures.directory" /opt/lofar/init.sh > /tmp/init.sh RUN grep -v "pyenv-py2/bin/activate" /tmp/init.sh > /opt/lofar/init.sh RUN chmod 755 /opt/lofar/init.sh #============================= # Switch to metauser Loading base/entrypoint/entrypoint.sh +3 −0 Original line number Diff line number Diff line Loading @@ -113,6 +113,9 @@ else echo "==============================================================" echo "" echo "You are now in /home/metauser with write access as user \"$(whoami)\"." echo "To activate Python environments:" echo " source /opt/lofar/pyenv-py2/bin/activate" echo " source /opt/lofar/pyenv-py3/bin/activate" echo "" echo "Remember that contents inside this container, unless stored" echo "on a persistent volume mounted from you host machine, will" Loading Loading
base/entrypoint/Dockerfile +4 −2 Original line number Diff line number Diff line Loading @@ -17,8 +17,10 @@ RUN chmod 755 /entrypoint.sh # Set entrypoint ENTRYPOINT ["/entrypoint.sh"] # Fix line in the lofar init. TODO: check why!! RUN grep -v "measures.directory" /opt/lofar/init.sh > /tmp/init.sh && mv /tmp/init.sh /opt/lofar/init.sh && chmod 755 /opt/lofar/init.sh # Fix lines in the lofar init. TODO: check why!! RUN grep -v "measures.directory" /opt/lofar/init.sh > /tmp/init.sh RUN grep -v "pyenv-py2/bin/activate" /tmp/init.sh > /opt/lofar/init.sh RUN chmod 755 /opt/lofar/init.sh #============================= # Switch to metauser Loading
base/entrypoint/entrypoint.sh +3 −0 Original line number Diff line number Diff line Loading @@ -113,6 +113,9 @@ else echo "==============================================================" echo "" echo "You are now in /home/metauser with write access as user \"$(whoami)\"." echo "To activate Python environments:" echo " source /opt/lofar/pyenv-py2/bin/activate" echo " source /opt/lofar/pyenv-py3/bin/activate" echo "" echo "Remember that contents inside this container, unless stored" echo "on a persistent volume mounted from you host machine, will" Loading