FROM debian:unstable RUN apt update RUN apt install curl wget -y RUN curl http://deb.nodesource.com/setup_18.x | bash RUN apt install qemu-system-x86 dbus-x11 kde-full tmux pulseaudio socat doas super gstreamer1.0-tools gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-bad firefox-esr krita neofetch aqemu wget curl python3-websockify git tigervnc* nodejs libxkbfile-dev libkrb5-dev libsecret-1-dev make g++ gcc -y RUN echo 'root:root' | chpasswd RUN useradd -m -u 1000 pi19044 RUN echo 'pi19044:PrelevatedInsider@19044' | chpasswd RUN git clone https://github.com/PrelevatedInsider17763/noVNC.git WORKDIR /noVNC RUN wget https://raw.githubusercontent.com/me-asri/noVNC-audio-plugin/main/audio-plugin.js && wget https://raw.githubusercontent.com/me-asri/noVNC-audio-plugin/main/audio-proxy.sh RUN echo "load-module module-simple-protocol-tcp listen=127.0.0.1 format=s16le channels=2 rate=48000 record=true playback=false" > /etc/pulse/default.pa.d/simple-protocol.pa RUN chmod +x audio-proxy.sh RUN mkdir /etc/websockify RUN echo " vnc: 0.0.0.0:5901" > /etc/websockify/token.cfg RUN echo " audio: 0.0.0.0:5711" >> /etc/websockify/token.cfg WORKDIR /home/pi19044 ENV HOME=/home/pi19044\ PATH=/home/pi19044/.local/bin:$PATH CMD vncserver -SecurityTypes none -geometry 1820x1024 && pulseaudio --start && /noVNC/utils/novnc_proxy --vnc localhost:5901 --listen 0.0.0.0:7860