From 6933424fca56fc84b0060ff97b97303d36ab5fb0 Mon Sep 17 00:00:00 2001 From: Lauri Ojansivu Date: Tue, 23 Apr 2019 15:10:47 +0300 Subject: Remove python2 from Dockerfile, to make Docker image smaller. Thanks to xet7 ! --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index a81215fb..213b6ae6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,7 +4,7 @@ LABEL maintainer="wekan" # Set the environment variables (defaults where required) # DOES NOT WORK: paxctl fix for alpine linux: https://github.com/wekan/wekan/issues/1303 # ENV BUILD_DEPS="paxctl" -ENV BUILD_DEPS="apt-utils bsdtar gnupg gosu wget curl bzip2 build-essential python python3 python3-distutils git ca-certificates gcc-7" \ +ENV BUILD_DEPS="apt-utils bsdtar gnupg gosu wget curl bzip2 build-essential python3 python3-pip git ca-certificates gcc-8" \ DEBUG=false \ NODE_VERSION=v8.16.0 \ METEOR_RELEASE=1.6.0.1 \ @@ -108,6 +108,7 @@ RUN \ \ # OS dependencies apt-get update -y && apt-get install -y --no-install-recommends ${BUILD_DEPS} && \ + pip3 install -U pip setuptools wheel && \ \ # Meteor installer doesn't work with the default tar binary, so using bsdtar while installing. # https://github.com/coreos/bugs/issues/1095#issuecomment-350574389 -- cgit v1.2.3-1-g7c22