Skip to content

Commit db34138

Browse files
committed
update Java and Python versions
1 parent a8cdf70 commit db34138

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

Dockerfile

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ RUN apt update && \
2222
# http://jdk.java.net/24/
2323
RUN cd /tmp && \
2424
if [ "$BUILDARCH" = "arm64" ]; then ARCH="aarch64"; else ARCH="x64"; fi && \
25-
curl --remote-name https://download.java.net/java/GA/jdk24/1f9ff9062db4449d8ca828c504ffae90/36/GPL/openjdk-24_linux-${ARCH}_bin.tar.gz && \
26-
tar xzf openjdk-24_linux-${ARCH}_bin.tar.gz && \
27-
rm --force openjdk-24_linux-${ARCH}_bin.tar.gz && \
28-
mv jdk-24 /opt/jdk && \
25+
curl --remote-name https://download.java.net/java/GA/jdk24.0.2/fdc5d0102fe0414db21410ad5834341f/12/GPL/openjdk-24.0.2_linux-${ARCH}_bin.tar.gz && \
26+
tar xzf openjdk-24.0.2_linux-${ARCH}_bin.tar.gz && \
27+
rm --force openjdk-24.0.2_linux-${ARCH}_bin.tar.gz && \
28+
mv jdk-24.0.2 /opt/jdk && \
2929
mkdir --parent /opt/bin && \
3030
ln --symbolic /opt/jdk/bin/* /opt/bin/ && \
3131
chmod a+rx /opt/bin/*
@@ -64,16 +64,16 @@ RUN apt update && \
6464
# Install Python 3.13.x
6565
# https://www.python.org/downloads/
6666
RUN cd /tmp && \
67-
curl --remote-name https://www.python.org/ftp/python/3.13.5/Python-3.13.5.tgz && \
68-
tar xzf Python-3.13.5.tgz && \
69-
rm --force Python-3.13.5.tgz && \
70-
cd Python-3.13.5 && \
67+
curl --remote-name https://www.python.org/ftp/python/3.13.7/Python-3.13.7.tgz && \
68+
tar xzf Python-3.13.7.tgz && \
69+
rm --force Python-3.13.7.tgz && \
70+
cd Python-3.13.7 && \
7171
CFLAGS="-Os" ./configure --disable-static --enable-optimizations --enable-shared --with-lto --without-tests && \
7272
./configure && \
7373
make && \
7474
make install && \
7575
cd .. && \
76-
rm --force --recursive Python-3.13.5 && \
76+
rm --force --recursive Python-3.13.7 && \
7777
ln --relative --symbolic /usr/local/bin/pip3 /usr/local/bin/pip && \
7878
ln --relative --symbolic /usr/local/bin/python3 /usr/local/bin/python && \
7979
pip3 install --no-cache-dir --upgrade pip

0 commit comments

Comments
 (0)