Merge pull request #1257 from nellonican/hotfix

Remove python installation from Dockerfile-71
This commit is contained in:
Mahmoud Zalt 2017-11-21 22:55:33 +02:00 committed by GitHub
commit 7c1f3060bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 5 deletions

View File

@ -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