Skip to content

Commit 1714c50

Browse files
authored
chore: upgrade python version to 3.12 for base images (except wolfi) (#49)
* upgrade python3.12 * missing places
1 parent 4738da1 commit 1714c50

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

dockerfiles/deps/python.sh

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@ dnf -y install bzip2-devel libffi-devel make git sqlite-devel openssl-devel
66
dnf -y install python-pip
77
pip3.9 install --upgrade setuptools pip
88
dnf -y groupinstall "Development Tools"
9-
curl -O https://www.python.org/ftp/python/3.10.14/Python-3.10.14.tgz
10-
tar -xzf Python-3.10.14.tgz
11-
cd Python-3.10.14/ || exit 1
9+
curl -O https://www.python.org/ftp/python/3.12.3/Python-3.12.3.tgz
10+
tar -xzf Python-3.12.3.tgz
11+
cd Python-3.12.3/ || exit 1
1212
./configure --enable-optimizations
1313
make altinstall
1414
cd ..
15-
rm -rf Python-3.10.14*
16-
pip3.10 install --upgrade setuptools pip
17-
ln -s /usr/local/bin/python3.10 /usr/local/bin/python3
15+
rm -rf Python-3.12.3*
16+
pip3.12 install --upgrade setuptools pip
17+
ln -s /usr/local/bin/python3.12 /usr/local/bin/python3
1818
dnf -y groupremove "Development Tools"
1919
rm -rf /var/cache/yum/*
2020
dnf clean all

0 commit comments

Comments
 (0)