File tree Expand file tree Collapse file tree 3 files changed +12
-5
lines changed
Expand file tree Collapse file tree 3 files changed +12
-5
lines changed Original file line number Diff line number Diff line change @@ -16,15 +16,18 @@ ENV LANG C.UTF-8
1616# logging collection.
1717ENV PYTHONUNBUFFERED 1
1818
19- # Upgrade pip (debian package version tends to run a few version behind) and
20- # install virtualenv system-wide.
21- RUN pip install --upgrade pip virtualenv
22-
2319# Install the Google-built interpreters
2420ADD interpreters.tar.gz /
2521
2622# Add Google-built interpreters to the path
27- ENV PATH /opt/python3.5/bin:/opt/python3.6/bin:$PATH
23+ ENV PATH /opt/python3.6/bin:/opt/python3.5/bin:$PATH
24+
25+ # Upgrade pip (debian package version tends to run a few version behind) and
26+ # install virtualenv system-wide.
27+ RUN /usr/bin/pip install --upgrade -r /resources/requirements.txt && \
28+ /usr/bin/pip3 install --upgrade -r /resources/requirements.txt && \
29+ /opt/python3.5/bin/pip3.5 install --upgrade -r /resources/requirements.txt && \
30+ /opt/python3.6/bin/pip3.6 install --upgrade -r /resources/requirements.txt
2831
2932# Setup the app working directory
3033RUN ln -s /home/vmagent/app /app
Original file line number Diff line number Diff line change 77python-pip
88python2.7
99python2.7-dev
10+ python3-pip
1011python3.4
1112python3.4-dev
1213# Dependenies for third-party Python packages
Original file line number Diff line number Diff line change 1+ pip == 9.0.1
2+ setuptools == 36.6.0
3+ virtualenv == 15.1.0
You can’t perform that action at this time.
0 commit comments