Split out Steam image without entrypoint

This commit is contained in:
Gethec
2022-06-23 19:26:57 -05:00
parent e9b129158b
commit 0f115ef1fc
2 changed files with 19 additions and 18 deletions

View 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}

View File

@@ -1,21 +1,4 @@
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 \
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}
FROM gethec/pterodactyl-yolks:steamcmd-installer
COPY entrypoint.sh /entrypoint.sh
ENTRYPOINT ["/bin/bash"]