ADD file:cb13581b8e7a9de4396639e5ca2f3817763435c0563232f85e3d899f6388a1b3 in / |
CMD ["bash"] |
LABEL maintainer=walentinlamonos@gmail.com |
ARG PUID=1000 |
ENV USER=steam |
ENV HOMEDIR=/home/steam |
ENV STEAMCMDDIR=/home/steam/steamcmd |
RUN |1 PUID=1000 /bin/sh -c set -x && apt-get update && apt-get install -y --no-install-recommends --no-install-suggests lib32stdc++6=10.2.1-6 lib32gcc-s1=10.2.1-6 ca-certificates=20210119 nano=5.4-2+deb11u2 curl=7.74.0-1.3+deb11u10 locales=2.31-13+deb11u7 && sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && dpkg-reconfigure --frontend=noninteractive locales && useradd -u "${PUID}" -m "${USER}" && su "${USER}" -c "mkdir -p \"${STEAMCMDDIR}\" && curl -fsSL 'https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz' | tar xvzf - -C \"${STEAMCMDDIR}\" && \"./${STEAMCMDDIR}/steamcmd.sh\" +quit && ln -s \"${STEAMCMDDIR}/linux32/steamclient.so\" \"${STEAMCMDDIR}/steamservice.so\" && mkdir -p \"${HOMEDIR}/.steam/sdk32\" && ln -s \"${STEAMCMDDIR}/linux32/steamclient.so\" \"${HOMEDIR}/.steam/sdk32/steamclient.so\" && ln -s \"${STEAMCMDDIR}/linux32/steamcmd\" \"${STEAMCMDDIR}/linux32/steam\" && mkdir -p \"${HOMEDIR}/.steam/sdk64\" && ln -s \"${STEAMCMDDIR}/linux64/steamclient.so\" \"${HOMEDIR}/.steam/sdk64/steamclient.so\" && ln -s \"${STEAMCMDDIR}/linux64/steamcmd\" \"${STEAMCMDDIR}/linux64/steam\" && ln -s \"${STEAMCMDDIR}/steamcmd.sh\" \"${STEAMCMDDIR}/steam.sh\"" && ln -s "${STEAMCMDDIR}/linux64/steamclient.so" "/usr/lib/x86_64-linux-gnu/steamclient.so" && rm -rf /var/lib/apt/lists/* # buildkit |
WORKDIR /home/steam/steamcmd |
LABEL maintainer="astra@zio.sh" |
ENV STEAMUSER "changeme" |
ENV STEAMPASS "changeme" |
ENV STEAMGUARD "" |
ENV STEAMAPPID 730 |
ENV STEAMAPP cs2 |
ENV STEAMAPPDIR "${HOMEDIR}/${STEAMAPP}-dedicated" |
COPY file:91ba1a95c6b99d9f3b9cc39c224f42644a8f247f13217ea4eb9220aa418f9509 in "${HOMEDIR}/entry.sh" |
COPY file:ab036ad61ea60723e7e8b86360b64306d088541afde0cd10252ecc53ff7850fa in "/etc/server.cfg" |
/bin/sh -c set -x && dpkg --add-architecture i386 && apt-get update && apt-get install -y --no-install-recommends --no-install-suggests libcurl4:i386 wget ca-certificates lib32z1 && mkdir -p "${STEAMAPPDIR}" && chmod +x "${HOMEDIR}/entry.sh" && chown -R "${USER}:${USER}" "${HOMEDIR}/entry.sh" "${STEAMAPPDIR}" && rm -rf /var/lib/apt/lists/* |
ENV CS2_SERVERNAME="cs2 private server" CS2_IP=0.0.0.0 CS2_PORT=27015 CS2_MAXPLAYERS=10 CS2_RCONPW="changeme" CS2_PW="changeme" CS2_MAPGROUP="mg_active" CS2_STARTMAP="de_inferno" CS2_GAMEALIAS="" CS2_GAMETYPE=0 CS2_GAMEMODE=1 CS2_LAN=0 CS2_ADDITIONAL_ARGS="" |
/bin/sh -c set -x && chown -R "${USER}:${USER}" "${STEAMAPPDIR}" && chmod 0777 "${STEAMAPPDIR}" |
USER ${USER} |
WORKDIR ${HOMEDIR} |
CMD ["bash", "entry.sh"] |
EXPOSE 27015/tcp 27015/udp 27020/udp |