Skip to content

Commit b5e0115

Browse files
committed
Merged in [18900] from rjsparks@nostrum.com:
Tweaks to dockerfile to avoid rust compiler issues. - Legacy-Id: 18917 Note: SVN reference [18900] has been migrated to Git commit acefcb2
2 parents 53520a7 + acefcb2 commit b5e0115

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

docker/docker-init.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ echo "Activating the virtual python environment ..."
112112

113113
if ! $VIRTDIR/bin/python -c "import django"; then
114114
echo "Installing requirements ..."
115+
pip install --upgrade pip
115116
reqs=/home/$USER/$CWD/requirements.txt
116117
if [ ! -f $reqs ]; then
117118
echo " Using $reqs"
@@ -188,4 +189,6 @@ else
188189
echo "LANG=$LANG"
189190
fi
190191

192+
HOME=/opt/home/$USER
193+
191194
su -p $USER

0 commit comments

Comments
 (0)