diff --git a/pypi-mirror/bandersnatch/Dockerfile b/pypi-mirror/bandersnatch/Dockerfile index e78cf23..7859792 100644 --- a/pypi-mirror/bandersnatch/Dockerfile +++ b/pypi-mirror/bandersnatch/Dockerfile @@ -1,25 +1,25 @@ -FROM debian:jessie +FROM debian:stretch MAINTAINER Jan Losinski RUN apt-get update && \ apt-get -y install --no-install-recommends \ - virtualenv \ - python-dev \ + python3-dev \ ca-certificates \ - python-pip \ + python3-pip \ && \ apt-get clean && \ - rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* + rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* && \ + pip3 install --upgrade virtualenv RUN groupadd user && \ useradd --uid 1000 --create-home --home-dir /home/user -g user user WORKDIR /home/user -RUN su user -c "virtualenv ./bandersnatch-env && \ +RUN su user -c "/usr/local/bin/virtualenv ./bandersnatch-env && \ . ./bandersnatch-env/bin/activate && \ - pip install -r https://bitbucket.org/pypa/bandersnatch/raw/stable/requirements.txt" + pip3 install -r https://bitbucket.org/pypa/bandersnatch/raw/stable/requirements.txt" COPY default.conf /etc/bandersnatch.conf RUN chown user:user /etc/bandersnatch.conf