Files
Pterodactyl-Yolks/SteamCMD-Installer/Dockerfile

32 lines
966 B
Docker

FROM ubuntu
ENV DEBIAN_FRONTEND=noninteractive \
HOME=/home/container \
USER=container
WORKDIR ${HOME}
SHELL ["/bin/bash", "-c"]
RUN apt-get update && apt-get install -y --no-install-recommends \
curl \
iproute2 \
locales \
software-properties-common \
unzip && \
locale-gen --lang en_US.UTF-8 && \
add-apt-repository multiverse && \
dpkg --add-architecture i386 && \
apt-get update && apt-get upgrade -y && \
echo steam steam/question select "I AGREE" | debconf-set-selections && \
apt-get install -y --no-install-recommends \
lib32gcc-s1 \
steamcmd && \
ln -s /usr/games/steamcmd /bin/steamcmd && \
useradd -U -d ${HOME} -s /bin/false ${USER} && \
# Clean up image
apt-get autoremove && \
apt-get clean && \
rm -rf \
/tmp/* \
/var/lib/apt/lists/* \
/var/tmp/* \
/var/log/* && \
chown ${USER}:${USER} /home/container