Update Arch Dockerfile
This commit is contained in:
@@ -162,6 +162,9 @@ RUN \
|
|||||||
echo
|
echo
|
||||||
|
|
||||||
# Install X Server requirements
|
# Install X Server requirements
|
||||||
|
ENV \
|
||||||
|
XORG_SOCKET_DIR="/tmp/.X11-unix" \
|
||||||
|
XDG_RUNTIME_DIR="/tmp/.X11-unix/run"
|
||||||
RUN \
|
RUN \
|
||||||
echo "**** Install X Server requirements ****" \
|
echo "**** Install X Server requirements ****" \
|
||||||
&& pacman -Syu --noconfirm --needed \
|
&& pacman -Syu --noconfirm --needed \
|
||||||
@@ -197,6 +200,9 @@ RUN \
|
|||||||
echo
|
echo
|
||||||
|
|
||||||
# Install audio requirements
|
# Install audio requirements
|
||||||
|
ENV \
|
||||||
|
PULSE_SOCKET_DIR="/tmp/pulse" \
|
||||||
|
PULSE_SERVER="unix:/tmp/pulse/pulse-socket"
|
||||||
RUN \
|
RUN \
|
||||||
echo "**** Install X Server requirements ****" \
|
echo "**** Install X Server requirements ****" \
|
||||||
&& pacman -Syu --noconfirm --needed \
|
&& pacman -Syu --noconfirm --needed \
|
||||||
@@ -252,6 +258,8 @@ RUN \
|
|||||||
# At the moment this is only working beacuse /proc is being mounted again in 10-setup_user.sh
|
# At the moment this is only working beacuse /proc is being mounted again in 10-setup_user.sh
|
||||||
# Need to find a better solution for this...
|
# Need to find a better solution for this...
|
||||||
ARG BUBBLEWRAP_VERSION=0.8.0
|
ARG BUBBLEWRAP_VERSION=0.8.0
|
||||||
|
ENV \
|
||||||
|
XDG_DATA_DIRS="/home/default/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share/:/usr/share/"
|
||||||
RUN \
|
RUN \
|
||||||
echo "**** Install flatpak support ****" \
|
echo "**** Install flatpak support ****" \
|
||||||
&& pacman -Syu --noconfirm --needed \
|
&& pacman -Syu --noconfirm --needed \
|
||||||
@@ -385,6 +393,18 @@ RUN \
|
|||||||
&& \
|
&& \
|
||||||
echo
|
echo
|
||||||
|
|
||||||
|
# Install Steam
|
||||||
|
RUN \
|
||||||
|
echo "**** Install X Server requirements ****" \
|
||||||
|
&& pacman -Syu --noconfirm --needed \
|
||||||
|
steam \
|
||||||
|
&& \
|
||||||
|
echo "**** Section cleanup ****" \
|
||||||
|
&& pacman -Scc --noconfirm \
|
||||||
|
&& rm -fr /var/lib/pacman/sync/* \
|
||||||
|
&& \
|
||||||
|
echo
|
||||||
|
|
||||||
# Add FS overlay
|
# Add FS overlay
|
||||||
COPY overlay /
|
COPY overlay /
|
||||||
|
|
||||||
@@ -396,19 +416,10 @@ ENV \
|
|||||||
DISPLAY_SIZEW="1600" \
|
DISPLAY_SIZEW="1600" \
|
||||||
DISPLAY_VIDEO_PORT="DFP" \
|
DISPLAY_VIDEO_PORT="DFP" \
|
||||||
DISPLAY=":55"
|
DISPLAY=":55"
|
||||||
ENV \
|
|
||||||
XORG_SOCKET_DIR="/tmp/.X11-unix" \
|
|
||||||
XDG_RUNTIME_DIR="/tmp/.X11-unix/run" \
|
|
||||||
XDG_DATA_DIRS="/home/default/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share/:/usr/share/"
|
|
||||||
ENV \
|
ENV \
|
||||||
NVIDIA_DRIVER_CAPABILITIES="all" \
|
NVIDIA_DRIVER_CAPABILITIES="all" \
|
||||||
NVIDIA_VISIBLE_DEVICES="all"
|
NVIDIA_VISIBLE_DEVICES="all"
|
||||||
|
|
||||||
# Set pulseaudio environment variables
|
|
||||||
ENV \
|
|
||||||
PULSE_SOCKET_DIR="/tmp/pulse" \
|
|
||||||
PULSE_SERVER="unix:/tmp/pulse/pulse-socket"
|
|
||||||
|
|
||||||
# Set container configuration environment variables
|
# Set container configuration environment variables
|
||||||
ENV \
|
ENV \
|
||||||
MODE="primary" \
|
MODE="primary" \
|
||||||
@@ -416,12 +427,13 @@ ENV \
|
|||||||
ENABLE_VNC_AUDIO="true" \
|
ENABLE_VNC_AUDIO="true" \
|
||||||
NEKO_PASSWORD=neko \
|
NEKO_PASSWORD=neko \
|
||||||
NEKO_PASSWORD_ADMIN=admin \
|
NEKO_PASSWORD_ADMIN=admin \
|
||||||
|
ENABLE_STEAM="true" \
|
||||||
|
STEAM_ARGS="-silent" \
|
||||||
ENABLE_SUNSHINE="false" \
|
ENABLE_SUNSHINE="false" \
|
||||||
ENABLE_EVDEV_INPUTS="false"
|
ENABLE_EVDEV_INPUTS="false"
|
||||||
|
|
||||||
# Configure required ports
|
# Configure required ports
|
||||||
ENV \
|
ENV \
|
||||||
PORT_SSH="" \
|
|
||||||
PORT_NOVNC_WEB="8083" \
|
PORT_NOVNC_WEB="8083" \
|
||||||
NEKO_NAT1TO1=""
|
NEKO_NAT1TO1=""
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user