diff --git a/dockerfiles/3.7/cpu/Dockerfile b/dockerfiles/3.7/cpu/Dockerfile
index a8b5cd2..43456c4 100644
--- a/dockerfiles/3.7/cpu/Dockerfile
+++ b/dockerfiles/3.7/cpu/Dockerfile
@@ -1,6 +1,6 @@
 # DO NOT MODIFY MANUALLY
 # GENERATED FROM SCRIPTS
-FROM ubuntu:20.04@sha256:669e010b58baf5beb2836b253c1fd5768333f0d1dbcb834f7c07a4dc93f474be
+FROM ubuntu:24.04@sha256:72297848456d5d37d1262630108ab308d3e9ec7ed1c3286a32fe09856619a782
 
 # Avoid tzdata interactive action
 ENV DEBIAN_FRONTEND noninteractive
diff --git a/dockerfiles/3.8/cpu/Dockerfile b/dockerfiles/3.8/cpu/Dockerfile
index 1943ecf..27a00ab 100644
--- a/dockerfiles/3.8/cpu/Dockerfile
+++ b/dockerfiles/3.8/cpu/Dockerfile
@@ -1,6 +1,6 @@
 # DO NOT MODIFY MANUALLY
 # GENERATED FROM SCRIPTS
-FROM ubuntu:20.04@sha256:669e010b58baf5beb2836b253c1fd5768333f0d1dbcb834f7c07a4dc93f474be
+FROM ubuntu:24.04@sha256:72297848456d5d37d1262630108ab308d3e9ec7ed1c3286a32fe09856619a782
 
 # Avoid tzdata interactive action
 ENV DEBIAN_FRONTEND noninteractive
diff --git a/dockerfiles/3.9-rc/cpu/Dockerfile b/dockerfiles/3.9-rc/cpu/Dockerfile
index cfdab06..185ffe5 100644
--- a/dockerfiles/3.9-rc/cpu/Dockerfile
+++ b/dockerfiles/3.9-rc/cpu/Dockerfile
@@ -1,6 +1,6 @@
 # DO NOT MODIFY MANUALLY
 # GENERATED FROM SCRIPTS
-FROM ubuntu:20.04@sha256:669e010b58baf5beb2836b253c1fd5768333f0d1dbcb834f7c07a4dc93f474be
+FROM ubuntu:24.04@sha256:72297848456d5d37d1262630108ab308d3e9ec7ed1c3286a32fe09856619a782
 
 # Avoid tzdata interactive action
 ENV DEBIAN_FRONTEND noninteractive