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 \
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