Skip to content

Commit

Permalink
Update Containerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
nobodywatchin authored Nov 3, 2024
1 parent 9735ca3 commit d474a7b
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions Containerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
# Use the SteamOS container as the base
FROM lscr.io/linuxserver/steamos:latest

# Install initial packages
# Install core packages without paru
RUN pacman -Sy --noconfirm \
paru \
lib32-vulkan-radeon \
libva-mesa-driver \
intel-media-driver \
Expand Down Expand Up @@ -41,10 +40,17 @@ RUN pacman -Sy --noconfirm \
mangohud \
lib32-mangohud

# Install paru manually
RUN pacman -Sy --noconfirm git base-devel && \
git clone https://aur.archlinux.org/paru.git /tmp/paru && \
cd /tmp/paru && \
makepkg -si --noconfirm && \
rm -rf /tmp/paru

# Install EmuDeck
RUN curl -L https://raw.githubusercontent.com/dragoonDorise/EmuDeck/main/install.sh | bash

# Install Decky Loader
# Install Decky Launcher
RUN curl -S -s -L -O --output-dir /tmp/ --connect-timeout 60 https://github.com/SteamDeckHomebrew/decky-installer/releases/latest/download/user_install_script.sh && \
bash /tmp/user_install_script.sh || echo "Something went wrong, please report this if it is a bug"

Expand All @@ -53,7 +59,7 @@ RUN wget https://raw.githubusercontent.com/Shringe/LatencyFleX-Installer/main/in
sed -i 's@"dxvk.conf"@"/usr/share/latencyflex/dxvk.conf"@g' /usr/bin/latencyflex && \
chmod +x /usr/bin/latencyflex

# Install AUR packages
# Install AUR packages as build user
RUN useradd -m --shell=/bin/bash build && usermod -L build && \
echo "build ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers && \
echo "root ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
Expand Down

0 comments on commit d474a7b

Please sign in to comment.