From 8dea201b689c40ad218d9d1f59a7f1fa28e50161 Mon Sep 17 00:00:00 2001 From: Thorvald Falkenburg Date: Thu, 16 Nov 2017 21:31:43 +0100 Subject: [PATCH] Remove python installation from Dockerfile-71 Python can be installed by using the WORKSPACE_INSTALL_PYTHON variable in the .env file. Fixes #1238 --- workspace/Dockerfile-71 | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/workspace/Dockerfile-71 b/workspace/Dockerfile-71 index 2fdfe9f..9f42137 100644 --- a/workspace/Dockerfile-71 +++ b/workspace/Dockerfile-71 @@ -54,9 +54,7 @@ ENV PUID ${PUID} ENV PGID ${PGID} RUN groupadd -g ${PGID} laradock && \ - useradd -u ${PUID} -g laradock -m laradock && \ - apt-get update -yqq && \ - apt-get install -y python2.7 + useradd -u ${PUID} -g laradock -m laradock ##################################### # SOAP: @@ -686,8 +684,7 @@ RUN if [ ${INSTALL_DUSK_DEPS} = true ]; then \ # Clean up USER root RUN apt-get clean && \ - rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* \ - npm config set python /usr/bin/python2.7 + rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* # Set default work directory WORKDIR /var/www