Tweaks to dockerfile to avoid rust compiler issues. Commit ready for merge.

- Legacy-Id: 18900
This commit is contained in:
Robert Sparks 2021-03-04 21:47:55 +00:00
parent eb66fa9d23
commit acefcb298c

View file

@ -112,6 +112,7 @@ echo "Activating the virtual python environment ..."
if ! $VIRTDIR/bin/python -c "import django"; then
echo "Installing requirements ..."
pip install --upgrade pip
reqs=/home/$USER/$CWD/requirements.txt
if [ ! -f $reqs ]; then
echo " Using $reqs"
@ -188,4 +189,6 @@ else
echo "LANG=$LANG"
fi
HOME=/opt/home/$USER
su -p $USER