diff --git a/Dockerfile b/Dockerfile index c3c3df7..e2f6aa5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ FROM scratch -COPY --from=qemux/qemu-docker:4.17 / / +COPY --from=qemux/qemu-docker:4.18 / / ARG DEBCONF_NOWARNINGS "yes" ARG DEBIAN_FRONTEND "noninteractive" diff --git a/src/entry.sh b/src/entry.sh index 83b2457..07866ca 100644 --- a/src/entry.sh +++ b/src/entry.sh @@ -1,8 +1,9 @@ #!/usr/bin/env bash set -Eeuo pipefail +: "${BOOT_MODE:="windows"}" + APP="Windows" -BOOT_MODE="windows" SUPPORT="https://github.com/dockur/windows" cd /run diff --git a/src/install.sh b/src/install.sh index 6208950..e5b21f2 100644 --- a/src/install.sh +++ b/src/install.sh @@ -854,7 +854,7 @@ prepareImage() { local iso="$1" local dir="$2" - if [[ "${BOOT_MODE,,}" == "windows" ]]; then + if [[ "${BOOT_MODE,,}" != "windows_legacy" ]]; then if [[ "${DETECTED,,}" != "winxp"* ]] && [[ "${DETECTED,,}" != "win2008"* ]]; then if [[ "${DETECTED,,}" != "winvista"* ]] && [[ "${DETECTED,,}" != "win7"* ]]; then