steam/Dockerfile

26 lines
663 B
Text
Raw Permalink Normal View History

2024-03-10 22:33:18 +01:00
FROM debian:bookworm
2017-04-13 10:40:00 +02:00
2020-08-12 20:29:39 +02:00
# Create steam user
2017-04-13 10:40:00 +02:00
RUN useradd -m -d /home/steam steam
# Install dependencies (and goodies for mods)
2020-08-12 20:29:39 +02:00
RUN export DEBIAN_FRONTEND=noninteractive && \
apt-get update && \
apt-get install --yes -qq --no-install-recommends \
curl \
2024-03-10 22:33:18 +01:00
ca-certificates \
lib32gcc1 \
lib32stdc++6 \
unzip \
git && \
2020-08-12 20:29:39 +02:00
apt-get clean && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
2017-04-13 10:40:00 +02:00
WORKDIR /opt/steamcmd
2020-08-12 20:29:39 +02:00
# Download, extract and update SteamCMD
RUN curl -s http://media.steampowered.com/installer/steamcmd_linux.tar.gz | tar -vxz && \
./steamcmd.sh +quit
ENTRYPOINT ["/opt/steamcmd/steamcmd.sh"]