Commit 050b7253 authored by Noé Gaumont's avatar Noé Gaumont 🐙

fix(DockerFile): update pip during installation

Fix #10
parent ef77bf95ad6a
......@@ -20,7 +20,8 @@ RUN apt-get update && apt-get -y --no-install-recommends install \
&& rm -rf /var/lib/apt/lists/*
RUN test $PYTHON = "python" && export py=python2 pip=pip2 || export py=python3 pip=pip3; \
update-alternatives --install /usr/bin/python python /usr/bin/$py 50 && \
update-alternatives --install /usr/bin/pip pip /usr/bin/$pip 50
update-alternatives --install /usr/bin/pip pip /usr/bin/$pip 50 && \
pip install --upgrade pip
COPY docker-cubicweb-helper check-docker-updates.sh get-cube /usr/local/bin/
RUN chmod +x /usr/local/bin/docker-cubicweb-helper /usr/local/bin/check-docker-updates.sh /usr/local/bin/get-cube
RUN mkdir /repo
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment