Update Dockerfile-70
Add python option to workspace
This commit is contained in:
parent
b1c1e6e187
commit
6d89424e91
@ -545,6 +545,19 @@ RUN if [ ${INSTALL_IMAGE_OPTIMIZERS} = true ]; then \
|
||||
;fi\
|
||||
;fi
|
||||
|
||||
#####################################
|
||||
# PYTHON:
|
||||
#####################################
|
||||
|
||||
ARG INSTALL_PYTHON=false
|
||||
ENV INSTALL_PYTHON ${INSTALL_PYTHON}
|
||||
RUN if [ ${INSTALL_PYTHON} = true ]; then \
|
||||
apt-get update \
|
||||
&& apt-get -y install python python-pip python-dev build-essential \
|
||||
&& pip install --upgrade pip \
|
||||
&& pip install --upgrade virtualenv \
|
||||
;fi
|
||||
|
||||
#
|
||||
#--------------------------------------------------------------------------
|
||||
# Final Touch
|
||||
|
Loading…
Reference in New Issue
Block a user