mirror of
https://codeberg.org/spire/docker-tf2-server.git
synced 2026-08-02 12:14:52 +02:00
split out steamcmd to it's own image
This commit is contained in:
parent
bd968eafbf
commit
7553c03eef
1 changed files with 1 additions and 20 deletions
21
Dockerfile
21
Dockerfile
|
|
@ -1,23 +1,4 @@
|
||||||
FROM ubuntu:24.04
|
FROM spiretf/docker-steamcmd
|
||||||
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'
|
|
||||||
|
|
||||||
USER tf2
|
USER tf2
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue