Relocate Steam setup process
This commit is contained in:
@@ -5,12 +5,8 @@ ENV DEBIAN_FRONTEND=noninteractive \
|
|||||||
USER=container
|
USER=container
|
||||||
WORKDIR ${HOME}
|
WORKDIR ${HOME}
|
||||||
SHELL ["/bin/bash", "-c"]
|
SHELL ["/bin/bash", "-c"]
|
||||||
RUN apt-get update && apt-get upgrade -y && apt-get install -y \
|
RUN apt-get update && apt-get install -y \
|
||||||
iproute2 \
|
iproute2 locales software-properties-common unzip wget && \
|
||||||
locales \
|
|
||||||
software-properties-common \
|
|
||||||
unzip \
|
|
||||||
wget && \
|
|
||||||
locale-gen --lang en_US.UTF-8 && \
|
locale-gen --lang en_US.UTF-8 && \
|
||||||
add-apt-repository multiverse && \
|
add-apt-repository multiverse && \
|
||||||
dpkg --add-architecture i386 && \
|
dpkg --add-architecture i386 && \
|
||||||
@@ -18,12 +14,8 @@ RUN apt-get update && apt-get upgrade -y && apt-get install -y \
|
|||||||
echo steam steam/question select "I AGREE" | debconf-set-selections && \
|
echo steam steam/question select "I AGREE" | debconf-set-selections && \
|
||||||
apt-get install lib32gcc-s1 steamcmd -y && \
|
apt-get install lib32gcc-s1 steamcmd -y && \
|
||||||
ln -s /usr/games/steamcmd /bin/steamcmd && \
|
ln -s /usr/games/steamcmd /bin/steamcmd && \
|
||||||
useradd ${USER} -d ${HOME} && \
|
useradd ${USER} -d ${HOME}
|
||||||
mkdir -p ${HOME}/.steam/{root,steam,sdk64} && \
|
|
||||||
chown -R ${USER}:${USER} ${HOME}
|
|
||||||
|
|
||||||
USER ${USER}
|
USER ${USER}
|
||||||
RUN steamcmd +quit && \
|
|
||||||
ln -s ${HOME}/.local/share/Steam/steamcmd/linux64/steamclient.so ${HOME}/.steam/sdk64/steamclient.so
|
|
||||||
COPY entrypoint.sh /entrypoint.sh
|
COPY entrypoint.sh /entrypoint.sh
|
||||||
ENTRYPOINT ["/bin/bash", "/entrypoint.sh"]
|
ENTRYPOINT ["/bin/bash", "/entrypoint.sh"]
|
||||||
|
Reference in New Issue
Block a user