Remove python installation from Dockerfile-71
Python can be installed by using the WORKSPACE_INSTALL_PYTHON variable in the .env file. Fixes #1238
This commit is contained in:
parent
9877f0453e
commit
8dea201b68
@ -54,9 +54,7 @@ ENV PUID ${PUID}
|
|||||||
ENV PGID ${PGID}
|
ENV PGID ${PGID}
|
||||||
|
|
||||||
RUN groupadd -g ${PGID} laradock && \
|
RUN groupadd -g ${PGID} laradock && \
|
||||||
useradd -u ${PUID} -g laradock -m laradock && \
|
useradd -u ${PUID} -g laradock -m laradock
|
||||||
apt-get update -yqq && \
|
|
||||||
apt-get install -y python2.7
|
|
||||||
|
|
||||||
#####################################
|
#####################################
|
||||||
# SOAP:
|
# SOAP:
|
||||||
@ -686,8 +684,7 @@ RUN if [ ${INSTALL_DUSK_DEPS} = true ]; then \
|
|||||||
# Clean up
|
# Clean up
|
||||||
USER root
|
USER root
|
||||||
RUN apt-get clean && \
|
RUN apt-get clean && \
|
||||||
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* \
|
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
||||||
npm config set python /usr/bin/python2.7
|
|
||||||
|
|
||||||
# Set default work directory
|
# Set default work directory
|
||||||
WORKDIR /var/www
|
WORKDIR /var/www
|
||||||
|
Loading…
Reference in New Issue
Block a user