Skip to content

Commit

Permalink
Bump pyenv (#1419)
Browse files Browse the repository at this point in the history
Fixes Python build
  • Loading branch information
filiptronicek authored Sep 9, 2024
1 parent 47a0faa commit f8f6cf2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions chunks/lang-python/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ RUN sudo install-packages \
libncursesw5-dev xz-utils tk-dev libxml2-dev libxmlsec1-dev libffi-dev liblzma-dev \
# Install PYENV
&& git clone https://github.com/pyenv/pyenv.git ~/.pyenv \
# v2.4.10
&& git -C ~/.pyenv checkout 9ecd803bffaffb949fbdd8c70cb086227f6a3202 \
# v2.4.12
&& git -C ~/.pyenv checkout 2e658d3e3574074ba24ffd10ad67b1c8e2ff717d \
&& pyenv install ${PYTHON_VERSION} \
&& pyenv global ${PYTHON_VERSION} \
&& for exec in global; do printf '%s\n' 'source "$HOME/.gp_pyenv.d/userbase.bash"' >> "$PYENV_ROOT/libexec/pyenv-$exec"; done \
Expand Down
4 changes: 2 additions & 2 deletions chunks/tool-yugabytedb/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ RUN curl -sSLo ./yugabyte.tar.gz https://downloads.yugabyte.com/releases/${YB_VE
ENV PATH="$HOME/.pyenv/bin:$HOME/.pyenv/shims:$PATH"
ENV PYENV_ROOT="$HOME/.pyenv"
RUN git clone https://github.com/pyenv/pyenv.git ~/.pyenv \
# v2.4.10
&& git -C ~/.pyenv checkout 9ecd803bffaffb949fbdd8c70cb086227f6a3202 \
# v2.4.12
&& git -C ~/.pyenv checkout 2e658d3e3574074ba24ffd10ad67b1c8e2ff717d \
&& pyenv install ${PYTHON_VERSION} \
&& pyenv global ${PYTHON_VERSION}

Expand Down

0 comments on commit f8f6cf2

Please sign in to comment.