Remove redundant commands

This commit is contained in:
paul 2020-08-12 20:29:39 +02:00
parent c2fcd298dc
commit 049e8ae316
2 changed files with 23 additions and 22 deletions

View file

@ -1,23 +1,24 @@
FROM debian:stretch FROM debian:buster
MAINTAINER Paul <paul@zom.bi>, Mad <mad@zom.bi>
ENV DEBIAN_FRONTEND noninteractive
# Create user steam
# Create steam user
RUN useradd -m -d /home/steam steam RUN useradd -m -d /home/steam steam
# Install dependencies (and goodies for mods) # Install dependencies (and goodies for mods)
RUN apt-get update &&\ RUN export DEBIAN_FRONTEND=noninteractive && \
apt-get install -y curl lib32gcc1 lib32stdc++6 unzip git apt-get update && \
apt-get install --yes -qq --no-install-recommends \
# Download and extract SteamCMD curl \
RUN mkdir -p /opt/steamcmd &&\ lib32gcc1 \
cd /opt/steamcmd &&\ lib32stdc++6 \
curl -s http://media.steampowered.com/installer/steamcmd_linux.tar.gz | tar -vxz unzip \
git && \
apt-get clean && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
WORKDIR /opt/steamcmd WORKDIR /opt/steamcmd
# update steam # Download, extract and update SteamCMD
RUN ./steamcmd.sh +quit RUN curl -s http://media.steampowered.com/installer/steamcmd_linux.tar.gz | tar -vxz && \
./steamcmd.sh +quit
ENTRYPOINT ["/opt/steamcmd/steamcmd.sh"]

View file

@ -1,10 +1,10 @@
## steam-base ## steam
steam-base installs the steam platform, which is required for most dedicated steam is an image containing the steam platform, which is required for some
source gameserves. This image is useless on its own, but can be used to dedicated gameserves. This image is not very useful on its own, but can be
spin up gameservers for CS:GO, TF2 or Garys Mod. used as a base for spinning up gameservers for CS:GO, TF2 or Garys Mod.
### Building steam-base ### Building steam
``` ```
docker build -t zombi/steam-base . docker build -t zombi/steam .
``` ```