From ef82e69547d4f61c41d10fb9369790e04e23aec6 Mon Sep 17 00:00:00 2001 From: wraith1200 Date: Tue, 12 Mar 2024 13:57:20 -0400 Subject: [PATCH] adding proton 8 image --- .github/workflows/steamcmd.yml | 3 ++- README.md | 2 ++ steamcmd/proton_8/Dockerfile | 48 ++++++++++++++++++++++++++++++++++ 3 files changed, 52 insertions(+), 1 deletion(-) create mode 100644 steamcmd/proton_8/Dockerfile diff --git a/.github/workflows/steamcmd.yml b/.github/workflows/steamcmd.yml index 2f6cc7941..443c9abdf 100644 --- a/.github/workflows/steamcmd.yml +++ b/.github/workflows/steamcmd.yml @@ -19,7 +19,8 @@ jobs: - debian - ubuntu - dotnet - - proton + - proton + - proton_8 - sniper steps: - uses: actions/checkout@v4 diff --git a/README.md b/README.md index edd1f2e8d..9d6964742 100644 --- a/README.md +++ b/README.md @@ -274,6 +274,8 @@ is tagged correctly. * `ghcr.io/parkervcp/steamcmd:dotnet` * [`SteamCMD Proton`](/steamcmd/proton) * `ghcr.io/parkervcp/steamcmd:proton` +* [`SteamCMD Proton`](/steamcmd/proton_8) + * `ghcr.io/parkervcp/steamcmd:proton_8` * [`SteamCMD Sniper latest`](/steamcmd/sniper) * `ghcr.io/parkervcp/steamcmd:sniper` * [`SteamCMD Ubuntu latest LTS`](/steamcmd/ubuntu) diff --git a/steamcmd/proton_8/Dockerfile b/steamcmd/proton_8/Dockerfile new file mode 100644 index 000000000..388ff951e --- /dev/null +++ b/steamcmd/proton_8/Dockerfile @@ -0,0 +1,48 @@ +# --------------------------------------------- +# Steam Proton image +# --------------------------------------------- +FROM debian:bullseye-slim + +LABEL author="Torsten Widmann" maintainer="info@goover.de" + +## install required packages +RUN dpkg --add-architecture i386 +RUN apt update +RUN apt install -y --no-install-recommends wget iproute2 gnupg2 software-properties-common libntlm0 winbind xvfb xauth libncurses5-dev:i386 libncurses6 dbus libgdiplus lib32gcc-s1 +RUN apt install -y alsa-tools libpulse0 pulseaudio libpulse-dev libasound2 libao-common gnutls-bin gnupg locales numactl cabextract curl python3 python3-pip python3-setuptools tini file +RUN useradd -d /home/container -m container + +# Download Proton GE +RUN curl -sLOJ "$(curl -s https://api.github.com/repos/GloriousEggroll/proton-ge-custom/releases/tags/GE-Proton8-32 | grep browser_download_url | cut -d\" -f4 | egrep .tar.gz)" +RUN tar -xzf GE-Proton*.tar.gz -C /usr/local/bin/ --strip-components=1 +RUN rm GE-Proton*.* + +# Proton Fix machine-id +RUN rm -f /etc/machine-id +RUN dbus-uuidgen --ensure=/etc/machine-id +RUN rm /var/lib/dbus/machine-id +RUN dbus-uuidgen --ensure + +#Setup Protontricks +RUN python3 -m pip install protontricks + +# Set up Winetricks +RUN wget -q -O /usr/sbin/winetricks https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks \ + && chmod +x /usr/sbin/winetricks + +## install rcon +RUN cd /tmp/ \ + && curl -sSL https://github.com/gorcon/rcon-cli/releases/download/v0.10.3/rcon-0.10.3-amd64_linux.tar.gz > rcon.tar.gz \ + && tar xvf rcon.tar.gz \ + && mv rcon-0.10.3-amd64_linux/rcon /usr/local/bin/ + +USER container +ENV USER=container HOME=/home/container +WORKDIR /home/container + +STOPSIGNAL SIGINT + +COPY --chown=container:container ./../entrypoint.sh /entrypoint.sh +RUN chmod +x /entrypoint.sh +ENTRYPOINT ["/usr/bin/tini", "-g", "--"] +CMD ["/entrypoint.sh"] \ No newline at end of file