Browse Source

Fix python3 pip and setuptools error.

Lauri Ojansivu 6 years ago
parent
commit
0a20795ea4
1 changed files with 2 additions and 1 deletions
  1. 2 1
      Dockerfile

+ 2 - 1
Dockerfile

@@ -4,7 +4,7 @@ LABEL maintainer="wekan"
 # Set the environment variables (defaults where required)
 # Set the environment variables (defaults where required)
 # DOES NOT WORK: paxctl fix for alpine linux: https://github.com/wekan/wekan/issues/1303
 # DOES NOT WORK: paxctl fix for alpine linux: https://github.com/wekan/wekan/issues/1303
 # ENV BUILD_DEPS="paxctl"
 # ENV BUILD_DEPS="paxctl"
-ENV BUILD_DEPS="apt-utils bsdtar gnupg gosu wget curl bzip2 build-essential python3 python3-distutils git ca-certificates gcc-8" \
+ENV BUILD_DEPS="apt-utils bsdtar gnupg gosu wget curl bzip2 build-essential python3 python3-pip git ca-certificates gcc-8" \
     DEBUG=false \
     DEBUG=false \
     NODE_VERSION=v8.16.0 \
     NODE_VERSION=v8.16.0 \
     METEOR_RELEASE=1.8.1 \
     METEOR_RELEASE=1.8.1 \
@@ -108,6 +108,7 @@ RUN \
     \
     \
     # OS dependencies
     # OS dependencies
     apt-get update -y && apt-get install -y --no-install-recommends ${BUILD_DEPS} && \
     apt-get update -y && apt-get install -y --no-install-recommends ${BUILD_DEPS} && \
+    pip3 install -U setuptools wheel && \
     \
     \
     # Meteor installer doesn't work with the default tar binary, so using bsdtar while installing.
     # Meteor installer doesn't work with the default tar binary, so using bsdtar while installing.
     # https://github.com/coreos/bugs/issues/1095#issuecomment-350574389
     # https://github.com/coreos/bugs/issues/1095#issuecomment-350574389