From 8e93208fdfb9df28ea01dfcf908bedcac5f2242b Mon Sep 17 00:00:00 2001 From: Alexis 'Horgix' Chotard Date: Sun, 26 Jun 2016 15:21:48 +0200 Subject: [PATCH] Dockerfile: install pip directly from python3 module --- Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index c35d9f8..4177b81 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,13 +13,13 @@ RUN apk --update --update-cache upgrade \ python3-dev \ build-base \ libffi-dev \ - ca-certificates + ca-certificates \ + && python3 -m ensurepip \ + && pip3 install --upgrade pip # Python installation # pip -ADD https://bootstrap.pypa.io/get-pip.py /tmp/install/ -RUN python3 /tmp/install/* && \ - pip install passlib bcrypt setuptools +RUN pip3 install passlib bcrypt setuptools # Radicale installation RUN mkdir -p /data/config