diff --git a/Dockerfile b/Dockerfile index 5c88d1e..756f086 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ # syntax=docker/dockerfile:1 FROM scratch AS runner -COPY --from=qemux/qemu:7.43 / / +COPY --from=qemux/qemu:7.45 / / ARG VERSION_ARG="0.0" ARG DEBCONF_NOWARNINGS="yes" diff --git a/src/entry.sh b/src/entry.sh index f83ef02..0b47cca 100644 --- a/src/entry.sh +++ b/src/entry.sh @@ -10,13 +10,17 @@ set -Eeuo pipefail : "${TIMEOUT:="105"}" : "${PLATFORM:="x64"}" : "${BOOT_MODE:="uefi"}" +: "${RAM_MINIMUM:="2G"}" +: "${DISK_MINIMUM:="16G"}" cd /run . start.sh # Startup hook . utils.sh # Load functions -. reset.sh # Initialize system +. init.sh # Initialize system +. memory.sh # Check memory . server.sh # Start webserver +. download.sh # Load functions . define.sh # ChromeOS parameters . install.sh # Download the image . disk.sh # Initialize disks @@ -26,7 +30,6 @@ cd /run . boot.sh # Configure boot . proc.sh # Initialize processor . power.sh # Configure shutdown -. memory.sh # Check available memory . balloon.sh # Initialize ballooning . config.sh # Configure arguments . finish.sh # Finish initialization