Skip to content

Commit

Permalink
Merge pull request #68 from raymanP/main
Browse files Browse the repository at this point in the history
Update Python to 3.12.1 and 3.11.7
  • Loading branch information
messense authored Mar 12, 2024
2 parents ed80b79 + d1c7c66 commit e88adf7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile.j2
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ RUN cd /tmp && \
find $PREFIX -type f -a \( -name '*.pyc' -o -name '*.pyo' \) -delete

RUN cd /tmp && \
VERS=3.11.6 && PREFIX=/opt/python/cp311-cp311 && \
VERS=3.11.7 && PREFIX=/opt/python/cp311-cp311 && \
curl -LO https://www.python.org/ftp/python/$VERS/Python-$VERS.tgz && \
tar xzf Python-$VERS.tgz && cd Python-$VERS && \
./configure CC=$TARGET_CC AR=$TARGET_AR READELF=$TARGET_READELF --host={{ python_target }} --target={{ python_target }} --prefix=$PREFIX --disable-shared --with-build-python=python3.11 --with-ensurepip=no --build=$(uname -m)-linux-gnu --disable-ipv6 ac_cv_have_long_long_format=yes ac_cv_file__dev_ptmx=no ac_cv_file__dev_ptc=no && \
Expand All @@ -231,8 +231,8 @@ RUN cd /tmp && \
find $PREFIX -type f -a \( -name '*.pyc' -o -name '*.pyo' \) -delete

RUN cd /tmp && \
VERS=3.12.0 && PREFIX=/opt/python/cp312-cp312 && \
curl -LO https://www.python.org/ftp/python/3.12.0/Python-$VERS.tgz && \
VERS=3.12.1 && PREFIX=/opt/python/cp312-cp312 && \
curl -LO https://www.python.org/ftp/python/$VERS/Python-$VERS.tgz && \
tar xzf Python-$VERS.tgz && cd Python-$VERS && \
./configure CC=$TARGET_CC AR=$TARGET_AR READELF=$TARGET_READELF --host={{ python_target }} --target={{ python_target }} --prefix=$PREFIX --disable-shared --with-build-python=python3.12 --with-ensurepip=no --build=$(uname -m)-linux-gnu --disable-ipv6 ac_cv_have_long_long_format=yes ac_cv_file__dev_ptmx=no ac_cv_file__dev_ptc=no && \
{% if target.startswith('armv7-') -%}
Expand Down

0 comments on commit e88adf7

Please sign in to comment.