-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Expand file tree
/
Copy pathDockerfile
More file actions
38 lines (30 loc) · 1.18 KB
/
Dockerfile
File metadata and controls
38 lines (30 loc) · 1.18 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
FROM registry.fedoraproject.org/fedora:43
RUN dnf -y update && \
dnf -y install \
git curl unzip which procps-ng psmisc findutils \
alsa-lib alsa-plugins-pulseaudio \
pulseaudio-libs pulseaudio-utils \
# X + desktop
xorg-x11-server-Xvfb xterm dbus-x11 \
xfce-polkit \
xfce4-session xfce4-panel xfce4-settings xfce4-terminal thunar \
xfwm4 \
feh \
# VNC + web VNC
x11vnc novnc python3-websockify \
# Xpra + dependencies (xpra-html5 not in Fedora repos; installed below from source)
xpra python3-gobject python3-paramiko \
# OpenGL (Mesa) + GLVND + tools (glxinfo)
mesa-dri-drivers mesa-libGL mesa-libEGL mesa-libGLU \
libglvnd-glx libglvnd-egl \
glx-utils zip weston xorg-x11-server-Xwayland wayland-utils \
&& dnf clean all
ENV SDKMAN_DIR=/root/.sdkman
RUN curl -s "https://get.sdkman.io" | bash \
&& source "$SDKMAN_DIR/bin/sdkman-init.sh" \
&& sdk install java 25-tem \
&& sdk default java 25-tem
ENV JAVA_HOME=${SDKMAN_DIR}/candidates/java/current
ENV PATH=${JAVA_HOME}/bin:${PATH}
COPY assets/wallpaper.jpg /root/wallpaper.jpg
COPY assets/novnc-index.html /usr/share/novnc/index.html