]> git.ipfire.org Git - thirdparty/patchwork.git/commitdiff
Remove tox-pyenv
authorStephen Finucane <stephen@that.guru>
Wed, 25 Jan 2023 19:56:16 +0000 (19:56 +0000)
committerStephen Finucane <stephen@that.guru>
Thu, 26 Jan 2023 12:58:23 +0000 (12:58 +0000)
This doesn't appear to be maintained and isn't necessary once we add a
missing 'pyenv init'.

Signed-off-by: Stephen Finucane <stephen@that.guru>
tools/docker/Dockerfile

index d164e49192fc1f48dd11a96a72c3ea5e2f61399b..30b4d6a47230880cb8f65aff7fb6c19c05676d20 100644 (file)
@@ -19,6 +19,8 @@ RUN groupadd --gid=$GID patchwork && \
     useradd --uid=$UID --gid=$GID --create-home patchwork
 RUN rm -f /etc/localtime; ln -s /usr/share/zoneinfo/$TZ /etc/localtime
 
+RUN eval "$(pyenv init -)"
+
 RUN apt-get update && apt-get install -y --no-install-recommends \
     build-essential \
     libmysqlclient-dev \
@@ -30,7 +32,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
     tzdata \
     && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
 
-RUN pip install wheel tox tox-pyenv
+RUN pip install wheel tox
 
 # we deliberately leave the requirements files in /opt so we can ping the user
 # in entrypoint.sh if they change