Update Dockerfile - remove support for Python versions we don't support
anymore and add support for ones we do.
@@ -7,20 +7,24 @@ RUN set -e && \
wget \
ssh && \
add-apt-repository ppa:deadsnakes/ppa && \
+ add-apt-repository ppa:pypy/ppa && \
apt-get update && \
apt-get -y install \
- python2.7 \
- python3.4 \
python3.5 \
python3.6 \
+ python3.7 \
+ python3.8 \
python-dev \
- python2.7-dev \
- python3.4-dev \
python3.5-dev \
python3.6-dev \
- pypy \
+ python3.7-dev \
+ python3.8-dev \
+ pypy3 \
python-pip
+# Workaround for zipp import error issue - https://github.com/pypa/virtualenv/issues/1630
+RUN pip install --upgrade pip
+
RUN set -e && \
pip install --no-cache-dir tox \
mock \
@@ -31,4 +35,4 @@ COPY . /libcloud
WORKDIR /libcloud
-CMD ["tox", "-e", "py2.7", "pypypy", "py3.4", "py3.5", "py3.6", "lint"]
+CMD ["tox", "-e", "py3.5", "py3.6", "py3.7", "py3.8", "pypypy3", "lint"]
