Skip to content

Commit

Permalink
Use pyenv global instead of pyenv local
Browse files Browse the repository at this point in the history
  • Loading branch information
tobias-klein committed Oct 28, 2023
1 parent 67773ed commit 1310435
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions docker/Debian12_Bookworm_Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ RUN curl -L https://raw.githubusercontent.com/pyenv/pyenv-installer/master/bin/p

# Install Python 3.10.0
RUN /root/.pyenv/bin/pyenv install 3.10.0
RUN /root/.pyenv/bin/pyenv global 3.10.0

RUN curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash -
RUN apt-get update
Expand Down
3 changes: 1 addition & 2 deletions docker/build_debian12_bookworm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,8 @@
# Use Python 3.10.0, because with 3.11 there are issues with node-gyp
# See https://stackoverflow.com/questions/74715990/node-gyp-err-invalid-mode-ru-while-trying-to-load-binding-gyp
export PATH=$PATH:/root/.pyenv/bin
pyenv virtualenv-init -
pyenv versions
pyenv local 3.10.0
pyenv global 3.10.0

npm run build-linux
npm run deb_bookworm
Expand Down

0 comments on commit 1310435

Please sign in to comment.