diff --git a/base-image-script/debian-test_pt1.sh b/base-image-script/debian-test_pt1.sh index 18bd909..6bc5630 100644 --- a/base-image-script/debian-test_pt1.sh +++ b/base-image-script/debian-test_pt1.sh @@ -26,7 +26,7 @@ echo "[INFO] Bootstrapping Debian $DEBIAN_RELEASE..." debootstrap \ --variant=minbase \ --components=main,contrib,non-free \ - --include=ca-certificates,software-properties-common,bash,wget,curl,nano,python3,locales \ + --include=apt,ca-certificates \ --arch=amd64 \ "$DEBIAN_RELEASE" "$ROOTFS_DIR" http://deb.debian.org/debian/ diff --git a/base-image-script/debian-test_pt2.sh b/base-image-script/debian-test_pt2.sh index e3ad7b4..1a664b6 100644 --- a/base-image-script/debian-test_pt2.sh +++ b/base-image-script/debian-test_pt2.sh @@ -6,6 +6,10 @@ echo 'APT::Get::Assume-Yes "true";' > /etc/apt/apt.conf.d/10-assume_yes apt-get update apt-get upgrade +apt-get install software-properties-common bash wget curl nano python3 python3-pip python3-venv locales + +dpkg -l | grep python3-cryptography || echo "[OK] Not installed" + echo "[CHROOT] Removing unnecessary packages..." apt-get remove --purge --allow-remove-essential pinentry-curses whiptail kmod iptables iproute2 dmidecode || true