From c1e244c88f8c24e9330b465875534f6fe6cbb6c2 Mon Sep 17 00:00:00 2001 From: Dyon van Bavel Date: Mon, 31 Jul 2017 12:37:46 +0200 Subject: [PATCH] Changed to to Python3.5 Bandersnatch 2.0 requires Python 3.5, to support Python 3.5 we need debian Stretch --- pypi-mirror/bandersnatch/Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pypi-mirror/bandersnatch/Dockerfile b/pypi-mirror/bandersnatch/Dockerfile index e78cf23..06cc7fc 100644 --- a/pypi-mirror/bandersnatch/Dockerfile +++ b/pypi-mirror/bandersnatch/Dockerfile @@ -1,11 +1,11 @@ -FROM debian:jessie +FROM debian:stretch MAINTAINER Jan Losinski RUN apt-get update && \ apt-get -y install --no-install-recommends \ virtualenv \ - python-dev \ + python3.5-dev \ ca-certificates \ python-pip \ && \ @@ -17,7 +17,7 @@ RUN groupadd user && \ WORKDIR /home/user -RUN su user -c "virtualenv ./bandersnatch-env && \ +RUN su user -c "virtualenv --python=python3.5 ./bandersnatch-env && \ . ./bandersnatch-env/bin/activate && \ pip install -r https://bitbucket.org/pypa/bandersnatch/raw/stable/requirements.txt"