############################################################
# Dockerfile that contains SteamCMD
############################################################
FROM ubuntu:18.04
ARG PUID=1000
ENV STEAMCMDDIR /home/steam/
# Install, update & upgrade packages
# Create user for the server
# This also creates the home directory we later need
# Clean TMP, apt-get cache and other stuff to make the image smaller
# Create Directory for SteamCMD
# Download SteamCMD
# Extract and delete archive
RUN set -x \
&& apt-get update \
&& apt-get install -y --no-install-recommends --no-install-suggests \
lib32stdc++6 \
lib32gcc1 \
wget \
ca-certificates \
nano \
&& mkdir -p ${STEAMCMDDIR} \
&& wget -qO- 'http://media.steampowered.com/installer/steamcmd_linux.tar.gz' | tar xvzf - -C ${STEAMCMDDIR} \
&& ./${STEAMCMDDIR}/steamcmd.sh +quit \
&& mkdir -p ${STEAMCMDDIR}/.steam/sdk32 \
&& cp -v ${STEAMCMDDIR}/linux32/steamclient.so ${STEAMCMDDIR}/.steam/sdk32/steamclient.so \
&& apt-get remove --purge -y wget \
&& apt-get clean autoclean \
&& apt-get autoremove -y \
&& rm -rf /var/lib/apt/lists/*
WORKDIR $STEAMCMDDIR
VOLUME $STEAMCMDDIR
Content type
Image
Digest
Size
159.2 MB
Last updated
about 6 years ago
docker pull mdspace/steamcmd