diff --git a/Dockerfile.dbg b/Dockerfile.dbg
index 290a40f7..622d8ef8 100644
--- a/Dockerfile.dbg
+++ b/Dockerfile.dbg
@@ -12,7 +12,7 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-FROM debian:bullseye
+FROM debian:12
 
 ENV DEBIAN_FRONTEND noninteractive
 ENV DEBCONF_NONINTERACTIVE_SEEN true
diff --git a/Dockerfile.in b/Dockerfile.in
index 4d60a406..afe5c7a6 100644
--- a/Dockerfile.in
+++ b/Dockerfile.in
@@ -12,7 +12,7 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-FROM debian:bullseye
+FROM debian:12
 
 ENV DEBIAN_FRONTEND noninteractive
 ENV DEBCONF_NONINTERACTIVE_SEEN true