Dockerfile: install pip directly from python3 module

This commit is contained in:
Alexis 'Horgix' Chotard 2016-06-26 15:21:48 +02:00
parent b0c82f01d0
commit 8e93208fdf

View File

@ -13,13 +13,13 @@ RUN apk --update --update-cache upgrade \
python3-dev \ python3-dev \
build-base \ build-base \
libffi-dev \ libffi-dev \
ca-certificates ca-certificates \
&& python3 -m ensurepip \
&& pip3 install --upgrade pip
# Python installation # Python installation
# pip # pip
ADD https://bootstrap.pypa.io/get-pip.py /tmp/install/ RUN pip3 install passlib bcrypt setuptools
RUN python3 /tmp/install/* && \
pip install passlib bcrypt setuptools
# Radicale installation # Radicale installation
RUN mkdir -p /data/config RUN mkdir -p /data/config