From 8f8779fee144dfdf10b57530166376ce38aad20d Mon Sep 17 00:00:00 2001 From: randogoth Date: Sun, 26 Oct 2025 17:02:43 +0200 Subject: [PATCH] DOS font --- Dockerfile | 1 + README.md | 1 + scripts/dos-httpd | 26 ++++++++++++++++++++++++-- scripts/start-services.sh | 3 +++ 4 files changed, 29 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 0da7b46..75f6262 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,6 +10,7 @@ COPY scripts/dos-shell /usr/local/bin/dos-shell COPY scripts/dos-httpd /usr/local/bin/dos-httpd COPY scripts/prepare-svardos.sh /usr/local/bin/prepare-svardos COPY scripts/start-services.sh /usr/local/bin/start-dos-services +COPY WebPlus_IBM_VGA_8x16.woff /usr/local/share/dos-httpd/WebPlus_IBM_VGA_8x16.woff RUN chmod +x /usr/local/bin/dos-shell /usr/local/bin/dos-httpd /usr/local/bin/start-dos-services /usr/local/bin/prepare-svardos && echo "/usr/local/bin/dos-shell" >> /etc/shells # Create sshd runtime directory diff --git a/README.md b/README.md index 0d90568..197d3b6 100644 --- a/README.md +++ b/README.md @@ -126,6 +126,7 @@ You can override which binary is used for the Linux side by setting `DOS_LINUX_S | `DOS_SSH_PORT` | `2222` | Host port forwarded to container port 22. | | `DOS_TELNET_PORT` | `2323` | Host port forwarded to container port 23. | | `DOS_HTTP_PORT` | `8080` | Host port forwarded to the web console. | +| `DOS_HTTP_FONT_PATH` | `/usr/local/share/dos-httpd/WebPlus_IBM_VGA_8x16.woff` | Override the font served to the web console. | | `ENABLE_TELNET` | `1` | Toggle BusyBox telnetd. | | `ENABLE_HTTP_CONSOLE` | `1` | Launch the built-in web terminal. | | `TELNET_PORT` | `23` | Port inside the container where telnetd listens. | diff --git a/scripts/dos-httpd b/scripts/dos-httpd index b4c3c8c..424c8ed 100644 --- a/scripts/dos-httpd +++ b/scripts/dos-httpd @@ -36,12 +36,17 @@ HTML_PAGE = """