steam/Dockerfile

25 lines
607 B
Text
Raw Normal View History

2020-08-12 20:29:39 +02:00
FROM debian:buster
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 \
lib32gcc1 \
lib32stdc++6 \
unzip \
git && \
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"]