Skip to content

Commit

Permalink
Merge pull request #59 from raymanP/main
Browse files Browse the repository at this point in the history
Update to Python 3.12 release and latest Python 3.8 - 3.11 versions
  • Loading branch information
messense committed Oct 20, 2023
2 parents cefd2f9 + 84b1142 commit 3c73c87
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Dockerfile.j2
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ RUN cd /tmp && \
find $PREFIX -type f -a \( -name '*.pyc' -o -name '*.pyo' \) -delete

RUN cd /tmp && \
VERS=3.8.17 && PREFIX=/opt/python/cp38-cp38 && \
VERS=3.8.18 && PREFIX=/opt/python/cp38-cp38 && \
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-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 @@ -180,7 +180,7 @@ RUN cd /tmp && \
find $PREFIX -type f -a \( -name '*.pyc' -o -name '*.pyo' \) -delete

RUN cd /tmp && \
VERS=3.9.17 && PREFIX=/opt/python/cp39-cp39 && \
VERS=3.9.18 && PREFIX=/opt/python/cp39-cp39 && \
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-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 @@ -197,7 +197,7 @@ RUN cd /tmp && \
find $PREFIX -type f -a \( -name '*.pyc' -o -name '*.pyo' \) -delete

RUN cd /tmp && \
VERS=3.10.12 && PREFIX=/opt/python/cp310-cp310 && \
VERS=3.10.13 && PREFIX=/opt/python/cp310-cp310 && \
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-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 @@ -214,7 +214,7 @@ RUN cd /tmp && \
find $PREFIX -type f -a \( -name '*.pyc' -o -name '*.pyo' \) -delete

RUN cd /tmp && \
VERS=3.11.4 && PREFIX=/opt/python/cp311-cp311 && \
VERS=3.11.6 && 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,7 +231,7 @@ RUN cd /tmp && \
find $PREFIX -type f -a \( -name '*.pyc' -o -name '*.pyo' \) -delete

RUN cd /tmp && \
VERS=3.12.0b2 && PREFIX=/opt/python/cp312-cp312 && \
VERS=3.12.0 && PREFIX=/opt/python/cp312-cp312 && \
curl -LO https://www.python.org/ftp/python/3.12.0/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 && \
Expand Down

0 comments on commit 3c73c87

Please sign in to comment.