Skip to content

Commit 42a9603

Browse files
authored
Merge pull request laradock#1530 from ahkui/patch-1
Update Dockerfile install python pip, virtualenv way.
2 parents 2e75c25 + d08177d commit 42a9603

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

workspace/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -666,8 +666,8 @@ ARG INSTALL_PYTHON=false
666666

667667
RUN if [ ${INSTALL_PYTHON} = true ]; then \
668668
apt-get -y install python python-pip python-dev build-essential \
669-
&& pip install --upgrade pip \
670-
&& pip install --upgrade virtualenv \
669+
&& python -m pip install --upgrade pip \
670+
&& python -m pip install --upgrade virtualenv \
671671
;fi
672672

673673
###########################################################################

0 commit comments

Comments
 (0)