From f0d097d09c4f7d832714367136fa65852d0f29b3 Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Thu, 14 Aug 2025 23:36:44 +0000 Subject: [PATCH] refactor(docker): remove obsolete Dockerfile for Ubuntu 18.04 * Deleted the `Dockerfile.ubuntu-1804` as it is no longer needed. * This change helps to streamline the Docker setup and reduce clutter. --- Dockerfile.ubuntu-1804 | 37 ------------------------------------- 1 file changed, 37 deletions(-) delete mode 100644 Dockerfile.ubuntu-1804 diff --git a/Dockerfile.ubuntu-1804 b/Dockerfile.ubuntu-1804 deleted file mode 100644 index 83b7988..0000000 --- a/Dockerfile.ubuntu-1804 +++ /dev/null @@ -1,37 +0,0 @@ -FROM ubuntu:18.04 - -LABEL maintainer="LinuxGSM " -ARG DEBIAN_FRONTEND=noninteractive - -SHELL ["/bin/bash", "-o", "pipefail", "-c"] - -# Install SteamCMD -RUN echo "**** Install SteamCMD ****" \ - && echo steam steam/question select "I AGREE" | debconf-set-selections \ - && echo steam steam/license note '' | debconf-set-selections \ - && dpkg --add-architecture i386 \ - && apt-get update \ - && apt-get install -y --no-install-recommends ca-certificates locales lib32gcc1 libsdl2-2.0-0:i386 tzdata steamcmd \ - && ln -s /usr/games/steamcmd /usr/bin/steamcmd \ - && apt-get -y autoremove \ - && apt-get -y clean \ - && rm -rf /usr/share/man /usr/share/doc /usr/share/info /usr/share/lintian /usr/share/locale/* \ - && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* - -# Add unicode support -RUN locale-gen en_US.UTF-8 -ENV LANG=en_US.UTF-8 -ENV LANGUAGE=en_US:en - -# Create non-root user -RUN useradd -m -d /home/steam -s /bin/bash steam \ - && mkdir -p /home/steam/Steam \ - && chown -R steam:steam /home/steam -USER steam -WORKDIR /home/steam - -ENTRYPOINT ["steamcmd"] -CMD ["+help", "+quit"] - -# Basic health check: run a no-op steamcmd help then quit -HEALTHCHECK --interval=30m --timeout=30s --start-period=30s --retries=3 CMD steamcmd +login anonymous +app_info_update 1 +quit > /dev/null 2>&1 || exit 1