summaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
authorLauri Ojansivu <x@xet7.org>2019-04-23 15:10:47 +0300
committerLauri Ojansivu <x@xet7.org>2019-04-23 15:10:47 +0300
commit6933424fca56fc84b0060ff97b97303d36ab5fb0 (patch)
treebe1b1cee2123346076c9a86fdb858f185ee9edb8 /Dockerfile
parentff8a10c2312bd4857b34ac4c73f8b5a1799dfecb (diff)
downloadwekan-6933424fca56fc84b0060ff97b97303d36ab5fb0.tar.gz
wekan-6933424fca56fc84b0060ff97b97303d36ab5fb0.tar.bz2
wekan-6933424fca56fc84b0060ff97b97303d36ab5fb0.zip
Remove python2 from Dockerfile, to make Docker image smaller.
Thanks to xet7 !
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile3
1 files changed, 2 insertions, 1 deletions
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