From 9a0e2f934b27c1723b9a3352c46feae2052f2464 Mon Sep 17 00:00:00 2001 From: Rongxin Liu Date: Tue, 17 Oct 2023 10:14:12 -0400 Subject: [PATCH] update python version to 3.12.0 --- Dockerfile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index 891ae54..c5ecc27 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,18 +12,18 @@ RUN apt update && \ libncursesw5-dev xz-utils tk-dev libxml2-dev libxmlsec1-dev libffi-dev liblzma-dev -# Install Python 3.11.x +# Install Python 3.12.x # https://www.python.org/downloads/ RUN cd /tmp && \ - curl https://www.python.org/ftp/python/3.11.4/Python-3.11.4.tgz --output Python-3.11.4.tgz && \ - tar xzf Python-3.11.4.tgz && \ - rm --force Python-3.11.4.tgz && \ - cd Python-3.11.4 && \ + curl https://www.python.org/ftp/python/3.12.0/Python-3.12.0.tgz --output Python-3.12.0.tgz && \ + tar xzf Python-3.12.0.tgz && \ + rm --force Python-3.12.0.tgz && \ + cd Python-3.12.0 && \ ./configure && \ make && \ make install && \ cd .. && \ - rm --force --recursive Python-3.11.4 && \ + rm --force --recursive Python-3.12.0 && \ ln --relative --symbolic /usr/local/bin/pip3 /usr/local/bin/pip && \ ln --relative --symbolic /usr/local/bin/python3 /usr/local/bin/python && \ pip3 install --upgrade pip