# debian.sh --arch 'amd64' out/ 'bookworm' '@1740355200' |
USER root |
ENV DEBIAN_FRONTEND=noninteractive HOME=/root |
RUN /bin/sh -c sed -i 's/deb.debian.org/mirrors.ustc.edu.cn/g' /etc/apt/sources.list.d/debian.sources # buildkit |
ENV USER=steam UID=1000 GID=100 HOME=/home/steam |
RUN /bin/sh -c sed -i 's/main/main contrib non-free non-free-firmware/g' /etc/apt/sources.list.d/debian.sources && echo steam steam/question select "I AGREE" | debconf-set-selections && echo steam steam/license note '' | debconf-set-selections && dpkg --add-architecture i386 && apt-get update --yes && apt-get install --yes steamcmd ca-certificates gosu && apt-get clean && rm -rf /var/lib/apt/lists/* && useradd --no-log-init --create-home --shell /bin/bash --uid "${UID}" --no-user-group "${USER}" && ln -s /usr/games/steamcmd /usr/bin/steamcmd && steamcmd +login anonymous +quit # buildkit |
USER root |
RUN /bin/sh -c apt-get update --yes && apt-get install --yes --no-install-recommends wine && apt-get clean && rm -rf /var/lib/apt/lists/* # buildkit |
USER steam |