Skip to content
Snippets Groups Projects
Commit 38a7ee5c authored by Stefano Alberto Russo's avatar Stefano Alberto Russo
Browse files

Disabled automatically activating the Python environments.

parent 18960ca6
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
......@@ -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"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment