Split out Steam image without entrypoint
This commit is contained in:
18
SteamCMD-Installer/Dockerfile
Normal file
18
SteamCMD-Installer/Dockerfile
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
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 \
|
||||||
|
iproute2 locales software-properties-common unzip wget && \
|
||||||
|
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 lib32gcc-s1 steamcmd -y --no-install-recommends && \
|
||||||
|
ln -s /usr/games/steamcmd /bin/steamcmd && \
|
||||||
|
useradd ${USER} -d ${HOME}
|
||||||
|
USER ${USER}
|
@@ -1,21 +1,4 @@
|
|||||||
FROM ubuntu
|
FROM gethec/pterodactyl-yolks:steamcmd-installer
|
||||||
|
|
||||||
ENV DEBIAN_FRONTEND=noninteractive \
|
|
||||||
HOME=/home/container \
|
|
||||||
USER=container
|
|
||||||
WORKDIR ${HOME}
|
|
||||||
SHELL ["/bin/bash", "-c"]
|
|
||||||
RUN apt-get update && apt-get install -y \
|
|
||||||
iproute2 locales software-properties-common unzip wget && \
|
|
||||||
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 lib32gcc-s1 steamcmd -y && \
|
|
||||||
ln -s /usr/games/steamcmd /bin/steamcmd && \
|
|
||||||
useradd ${USER} -d ${HOME}
|
|
||||||
USER ${USER}
|
|
||||||
|
|
||||||
COPY entrypoint.sh /entrypoint.sh
|
COPY entrypoint.sh /entrypoint.sh
|
||||||
ENTRYPOINT ["/bin/bash"]
|
ENTRYPOINT ["/bin/bash"]
|
||||||
|
Reference in New Issue
Block a user