From 447c9cf53d4569cecc84a84f1aa549d894e92a87 Mon Sep 17 00:00:00 2001 From: Kroese Date: Wed, 17 Jan 2024 20:30:52 +0100 Subject: [PATCH] build: Remove Python from image (#45) --- Dockerfile | 3 +-- src/entry.sh | 6 +++--- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index cfc2067..c4fdcc8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,7 +7,6 @@ ARG DEBCONF_NONINTERACTIVE_SEEN "true" RUN apt-get update \ && apt-get --no-install-recommends -y install \ curl \ - novnc \ swtpm \ wimtools \ p7zip-full \ @@ -23,7 +22,7 @@ ADD https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/latest-virt RUN chmod +x /run/*.sh -EXPOSE 3389 8006 +EXPOSE 8006 3389 VOLUME /storage ENV RAM_SIZE "4G" diff --git a/src/entry.sh b/src/entry.sh index e8051fc..5117a20 100644 --- a/src/entry.sh +++ b/src/entry.sh @@ -4,7 +4,6 @@ set -Eeuo pipefail echo "❯ Starting Windows for Docker v$(/dev/null +if [[ "${DISPLAY,,}" == "web" ]]; then + nginx -e stderr +fi mkdir -p /dev/shm/emulated_tpm swtpm socket -t -d --tpmstate dir=/dev/shm/emulated_tpm --ctrl \