Skip to content

Commit 823187d

Browse files
committed
Path for bzt
1 parent 98675c4 commit 823187d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ RUN bash ./setup_18.x && $APT_INSTALL make build-essential net-tools apt-utils l
2222
libsqlite3-dev wget curl llvm libncurses-dev xz-utils tk-dev libffi-dev liblzma-dev python3-openssl git
2323

2424
# pyenv install python
25-
ENV PYENV_ROOT /root/.pyenv
26-
ENV PATH $PYENV_ROOT/shims:$PYENV_ROOT/bin:$PATH
25+
ENV PYENV_ROOT=/root/.pyenv
26+
ENV PATH=$PYENV_ROOT/shims:$PYENV_ROOT/bin:/root/.pyenv/versions/$PYTHON_VERSION/bin:$PATH
2727
RUN chmod +x ./pyenv.run && ./pyenv.run && pyenv update && pyenv install $PYTHON_VERSION && pyenv global $PYTHON_VERSION && pyenv rehash && python3 --version
2828

2929
# Fix vulnerabilities / outdated versions

0 commit comments

Comments
 (0)