| # debian.sh --arch 'amd64' out/ 'bookworm' '@1765152000' |
| ENV USER=root HOME=/root |
| WORKDIR /root |
| SHELL [/bin/bash -o pipefail -c] |
| RUN /bin/bash -o pipefail -c echo steam steam/question select "I AGREE" | debconf-set-selections && echo steam steam/license note '' | debconf-set-selections # buildkit |
| ARG DEBIAN_FRONTEND=noninteractive |
| COPY sources.list /etc/apt/sources.list # buildkit |
| RUN |1 DEBIAN_FRONTEND=noninteractive /bin/bash -o pipefail -c dpkg --add-architecture i386 && apt-get update -y && apt-get install -y --no-install-recommends ca-certificates locales steamcmd wget tar unzip && rm -rf /var/lib/apt/lists/* # buildkit |
| RUN |1 DEBIAN_FRONTEND=noninteractive /bin/bash -o pipefail -c sed -i 's/^# *\(en_US.UTF-8\)/\1/' /etc/locale.gen && locale-gen en_US.UTF-8 # buildkit |
| ENV LANG=en_US.UTF-8 LANGUAGE=en_US:en |
| RUN |1 DEBIAN_FRONTEND=noninteractive /bin/bash -o pipefail -c ln -s /usr/games/steamcmd /usr/bin/steamcmd # buildkit |
| RUN |1 DEBIAN_FRONTEND=noninteractive /bin/bash -o pipefail -c useradd -m container # buildkit |
| USER container |
| ENV USER=container HOME=/home/container |
| WORKDIR /home/container |
| RUN |1 DEBIAN_FRONTEND=noninteractive /bin/bash -o pipefail -c steamcmd +help +login anonymous +quit # buildkit |
| RUN |1 DEBIAN_FRONTEND=noninteractive /bin/bash -o pipefail -c mkdir -p $HOME/.steam && ln -s $HOME/.local/share/Steam/steamcmd/linux32 $HOME/.steam/sdk32 && ln -s $HOME/.local/share/Steam/steamcmd/linux64 $HOME/.steam/sdk64 && ln -s $HOME/.steam/sdk32/steamclient.so $HOME/.steam/sdk32/steamservice.so && ln -s $HOME/.steam/sdk64/steamclient.so $HOME/.steam/sdk64/steamservice.so # buildkit |
| COPY ./entrypoint.sh /entrypoint.sh # buildkit |
| ENTRYPOINT [] |
| CMD ["/bin/bash" "/entrypoint.sh"] |