Commit b1b71f17 authored by Rémi Alvergnat's avatar Rémi Alvergnat
Browse files

Add PYENV_VERSION environment variable

This fix an issue occuring when loading a src directory containing .python-version file

It simply forces pyenv to use version installed in the container.

Close #50
parent 474fa5f8
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -6,6 +6,7 @@ ARG PYINSTALLER_VERSION=3.4

ENV PYPI_URL=https://pypi.python.org/
ENV PYPI_INDEX_URL=https://pypi.python.org/simple
ENV PYENV_VERSION=${PYTHON_VERSION}

COPY entrypoint.sh /entrypoint.sh