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>
(cherry picked from commit
5d63f97fefad90485d0041cbe822ed1a5d446e88)
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 \
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