From 7b94ae98b424259b45e3e8759b2a1583376fe58e Mon Sep 17 00:00:00 2001 From: codingfrog27 Date: Tue, 19 May 2026 15:31:06 +0200 Subject: [PATCH] reverted dockerfiles to debian buster for stability --- .gitignore | 5 ++++- dockerfiles/debian_large | 14 ++++++++++++-- dockerfiles/debian_mini | 11 +++++++++-- 3 files changed, 25 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index aeab15586..7f4b8054a 100644 --- a/.gitignore +++ b/.gitignore @@ -3,4 +3,7 @@ pnpm-lock.yaml build/ custom-disk-images/* -!custom-disk-images/.gitkeep \ No newline at end of file +!custom-disk-images/.gitkeep +nginx_access.log +nginx_error.log +nginx_main_error.log diff --git a/dockerfiles/debian_large b/dockerfiles/debian_large index 97b3ec35c..8ce1c0947 100644 --- a/dockerfiles/debian_large +++ b/dockerfiles/debian_large @@ -1,10 +1,16 @@ -FROM --platform=linux/386 i386/debian:bookworm +FROM --platform=linux/386 docker.io/i386/debian:buster ARG DEBIAN_FRONTEND=noninteractive +# Point APT to the archived mirrors (Buster is EOL) +RUN echo "deb [trusted=yes] http://archive.debian.org/debian buster main contrib non-free" \ + > /etc/apt/sources.list && \ + echo "deb [trusted=yes] http://archive.debian.org/debian-security buster/updates main" \ + >> /etc/apt/sources.list + RUN apt-get update && apt-get -y upgrade && \ apt-get install -y apt-utils beef bsdgames bsdmainutils ca-certificates \ cowsay cpio cron curl dmidecode dmsetup g++ gcc gdbm-l10n git \ - hexedit ifupdown init logrotate lsb-base lshw lua5.4 luajit lynx make \ + hexedit ifupdown init logrotate lsb-base lshw lua5.3 luajit lynx make \ nano netbase nodejs openssl procps python3 python3-cryptography \ python3-jinja2 python3-numpy python3-pandas python3-pip python3-scipy \ python3-six python3-yaml readline-common rsyslog ruby sensible-utils \ @@ -15,5 +21,9 @@ RUN apt-get update && apt-get -y upgrade && \ RUN useradd -m user && echo "user:password" | chpasswd COPY --chown=user:user ./examples /home/user/examples RUN chmod -R +x /home/user/examples/lua +# We set WORKDIR, as this gets extracted by Webvm to be used as the cwd. This is optional. +WORKDIR /home/user/ +# We set env, as this gets extracted by Webvm. This is optional. +ENV HOME="/home/user" TERM="xterm" USER="user" SHELL="/bin/bash" EDITOR="vim" LANG="en_US.UTF-8" LC_ALL="C" RUN echo 'root:password' | chpasswd CMD [ "/bin/bash" ] diff --git a/dockerfiles/debian_mini b/dockerfiles/debian_mini index 0b6c21cf6..f81992c89 100644 --- a/dockerfiles/debian_mini +++ b/dockerfiles/debian_mini @@ -1,11 +1,18 @@ -FROM --platform=linux/386 i386/debian:bookworm +FROM --platform=linux/386 docker.io/i386/debian:buster ARG DEBIAN_FRONTEND=noninteractive + +# Point APT to the archived mirrors (Buster is EOL) +RUN echo "deb [trusted=yes] http://archive.debian.org/debian buster main contrib non-free" \ + > /etc/apt/sources.list && \ + echo "deb [trusted=yes] http://archive.debian.org/debian-security buster/updates main" \ + >> /etc/apt/sources.list + RUN apt-get clean && apt-get update && apt-get -y upgrade RUN apt-get -y install apt-utils gcc \ python3 vim unzip ruby nodejs \ fakeroot dbus base whiptail hexedit \ patch wamerican ucf manpages \ - file luajit make lua5.4 dialog curl \ + file luajit make lua5.3 dialog curl \ less cowsay netcat-openbsd RUN useradd -m user && echo "user:password" | chpasswd COPY --chown=user:user ./examples /home/user/examples