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}