diff --git a/Dockerfile b/Dockerfile
index 3d92b381886732445409fec7f8b1d4aab381e122..915f9d0497044a541e4cfe1344db770d474018f7 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,4 +1,4 @@
-FROM debian:stretch-slim
+FROM debian:bullseye-slim
 
 RUN apt-get update \
  && apt-get install -y debootstrap xz-utils tar \
diff --git a/debootstrap.sh b/debootstrap.sh
index 742d491651c95f6b9893039bc7935637be878934..4e6b69d5c3f0ed971504984a3d9abce518413471 100755
--- a/debootstrap.sh
+++ b/debootstrap.sh
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-: "${DIST:=stretch}"
+: "${DIST:=bullseye}"
 : "${VARIANT:=minbase}"
 : "${ARCH:=armhf}"
 : "${TARGET:=/image}"