update OS, rearrange multilib pkgs, and +steamcmd wrapper
This commit is contained in:
parent
ce86cab349
commit
1ce51391ab
1 changed files with 5 additions and 2 deletions
|
@ -31,12 +31,14 @@ RUN set -x \
|
||||||
wget \
|
wget \
|
||||||
ca-certificates \
|
ca-certificates \
|
||||||
vim \
|
vim \
|
||||||
SDL2.{x86_64,i686} \
|
|
||||||
less \
|
less \
|
||||||
curl \
|
curl \
|
||||||
libstdc++.{x86_64,i686} \
|
libstdc++.{x86_64,i686} \
|
||||||
libgcc.{x86_64,i686} \
|
libgcc.{x86_64,i686} \
|
||||||
glibc.{x86_64,i686} \
|
glibc.{x86_64,i686} \
|
||||||
|
SDL2.{x86_64,i686} \
|
||||||
|
&& dnf up \
|
||||||
|
&& dnf clean all \
|
||||||
&& useradd -u "${PUID}" -m "${USER}" \
|
&& useradd -u "${PUID}" -m "${USER}" \
|
||||||
&& su "${USER}" -c \
|
&& su "${USER}" -c \
|
||||||
"mkdir -p \"${STEAMCMDDIR}\" \
|
"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/steamclient.so\" \"${HOMEDIR}/.steam/sdk32/steamclient.so\" \
|
||||||
&& ln -s \"${STEAMCMDDIR}/linux32/steamcmd\" \"${STEAMCMDDIR}/linux32/steam\" \
|
&& ln -s \"${STEAMCMDDIR}/linux32/steamcmd\" \"${STEAMCMDDIR}/linux32/steam\" \
|
||||||
&& ln -s \"${STEAMCMDDIR}/steamcmd.sh\" \"${STEAMCMDDIR}/steam.sh\"" \
|
&& 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" \
|
&& ln -s "${STEAMCMDDIR}/linux64/steamclient.so" "/usr/lib64/steamclient.so" \
|
||||||
&& dnf clean all \
|
|
||||||
&& ${STEAMCMDDIR}/steamcmd.sh +quit
|
&& ${STEAMCMDDIR}/steamcmd.sh +quit
|
||||||
|
|
||||||
WORKDIR ${STEAMCMDDIR}
|
WORKDIR ${STEAMCMDDIR}
|
||||||
|
|
Loading…
Reference in a new issue