diff --git a/src/opt/apps/cn.flamescion.bookworm-compatibility-mode/files/build-container.sh b/src/opt/apps/cn.flamescion.bookworm-compatibility-mode/files/build-container.sh
new file mode 100755
index 0000000..c80d2c9
--- /dev/null
+++ b/src/opt/apps/cn.flamescion.bookworm-compatibility-mode/files/build-container.sh
@@ -0,0 +1,10 @@
+#!/bin/bash
+if [ `which debootstrap` = "" ];then
+echo "Need to install debootstrap!"
+exit
+fi
+
+cd "`dirname $0`"
+sudo debootstrap bookworm ./bookworm-env https://mirrors.ustc.edu.cn/debian/
+tar -cJvf bookworm-env.tar.xz bookworm-env/*
+sudo rm -rf bookworm-env