split out steamcmd to it's own image

This commit is contained in:
Robin Appelman 2026-07-07 23:57:42 +02:00
commit 7553c03eef

View file

@ -1,23 +1,4 @@
FROM ubuntu:24.04
ARG CACHEBUST
RUN echo steam steam/question select "I AGREE" | debconf-set-selections \
&& echo steam steam/license note '' | debconf-set-selections \
&& apt-get -y update \
&& apt-get -y install software-properties-common \
&& add-apt-repository multiverse \
&& dpkg --add-architecture i386 \
&& apt-get update && DEBIAN_FRONTEND=noninteractive apt-get -y install libstdc++6 libcurl3-gnutls wget libncurses6 bzip2 unzip vim nano lib32gcc-s1 lib32stdc++6 steamcmd \
&& apt-get install -y --no-install-recommends --no-install-suggests \
ca-certificates \
lib32z1 \
libncurses6:i386 \
libbz2-1.0:i386 \
libtinfo6:i386 \
libcurl3-gnutls:i386 \
&& apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* \
&& useradd -m tf2 \
&& su tf2 -c '/usr/games/steamcmd +quit'
FROM spiretf/docker-steamcmd
USER tf2