From 1ce51391ab3ccb9dc316fa8ffe27b2100b74d4f4 Mon Sep 17 00:00:00 2001 From: Josh Lay Date: Tue, 16 Nov 2021 19:30:33 -0600 Subject: [PATCH] update OS, rearrange multilib pkgs, and +steamcmd wrapper --- Dockerfile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 81ee834..620cf68 100644 --- a/Dockerfile +++ b/Dockerfile @@ -31,12 +31,14 @@ RUN set -x \ wget \ ca-certificates \ vim \ - SDL2.{x86_64,i686} \ less \ curl \ libstdc++.{x86_64,i686} \ libgcc.{x86_64,i686} \ glibc.{x86_64,i686} \ + SDL2.{x86_64,i686} \ + && dnf up \ + && dnf clean all \ && useradd -u "${PUID}" -m "${USER}" \ && su "${USER}" -c \ "mkdir -p \"${STEAMCMDDIR}\" \ @@ -46,8 +48,9 @@ RUN set -x \ && ln -s \"${STEAMCMDDIR}/linux32/steamclient.so\" \"${HOMEDIR}/.steam/sdk32/steamclient.so\" \ && ln -s \"${STEAMCMDDIR}/linux32/steamcmd\" \"${STEAMCMDDIR}/linux32/steam\" \ && ln -s \"${STEAMCMDDIR}/steamcmd.sh\" \"${STEAMCMDDIR}/steam.sh\"" \ + && echo -e "#\!/bin/bash\npushd ${STEAMCMDDIR}\n./steamcmd.sh\npopd" | tee -a /usr/local/bin/steamcmd \ + && chmod -v +x /usr/local/bin/steamcmd \ && ln -s "${STEAMCMDDIR}/linux64/steamclient.so" "/usr/lib64/steamclient.so" \ - && dnf clean all \ && ${STEAMCMDDIR}/steamcmd.sh +quit WORKDIR ${STEAMCMDDIR}