Commit f9d868ed authored by xa's avatar xa

ensure latest pip

parent e3a208d5
Pipeline #1024 canceled with stage
......@@ -3,8 +3,10 @@ MAINTAINER Xavier Barbosa <clint.northwood@gmail.com>
RUN apk add --no-cache bash curl git python3 python3-dev build-base
RUN apk add --no-cache autoconf gcc gmp-dev libc-dev linux-headers
RUN apk add --no-cache icu-dev
RUN ln -s $(which python3) /usr/local/bin/python
RUN curl https://bootstrap.pypa.io/get-pip.py | python
RUN python -m pip install --upgrade pip
ADD pip.conf /etc/pip.conf
RUN apk add --no-cache ca-certificates libffi-dev openssh-client openssl-dev
RUN python -m pip install pytest pytest-asyncio pytest-bdd pytest-cov pytest-flake8 pytest-pylint
......@@ -12,12 +14,11 @@ RUN python -m pip install pyyaml
RUN python -m pip install twine
RUN python -m pip install paramiko
RUN python -m pip install hypothesis
RUN python -m pip install pyicu
RUN python -m pip install pipenv
RUN mkdir -p /root/.ssh \
&& chmod 700 /root/.ssh \
&& touch /root/.ssh/known_hosts \
&& ssh-keyscan lab.errorist.xyz >> /root/.ssh/known_hosts
RUN apk add --no-cache icu-dev
RUN python -m pip install pyicu
RUN python -m pip install pipenv
CMD ["python"]
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