Initial commit

This commit is contained in:
2024-08-06 10:53:40 +02:00
commit d2dcbbad56
3 changed files with 60 additions and 0 deletions
+47
View File
@@ -0,0 +1,47 @@
FROM riscv64/ubuntu:23.04
ENV DEBIAN_FRONTEND noninteractive
WORKDIR /root
RUN apt update -qq && apt install -y --no-install-recommends \
software-properties-common \
apt-transport-https \
ca-certificates \
lsb-release \
net-tools \
dirmngr \
gnupg \
git \
curl \
wget \
file \
unzip \
zip \
vim \
mc \
&& rm -rf /var/lib/apt/lists/*
# Install X11
RUN apt update -qq && apt install -y --no-install-recommends \
xvfb \
x11vnc \
at-spi2-core \
dbus-x11 \
x11-utils \
mwm \
xterm \
xfonts-base \
xfonts-75dpi \
xfonts-100dpi \
&& rm -rf /var/lib/apt/lists/*
# VNC server
RUN mkdir ~/.vnc
RUN x11vnc -storepasswd 1234 ~/.vnc/passwd
RUN echo "mwm" > ~/.xinitrc
RUN chmod +x ~/.xinitrc
EXPOSE 5900
CMD ["x11vnc", "-repeat", "-forever", "-usepw", "-create"]