From f58cb568886024a38aa9c22ee63ad52aca9be3f3 Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Wed, 5 Jul 2023 22:09:44 +0100 Subject: [PATCH] refactor: update Dockerfile.ubuntu-2204 - Replaced `nvim` with `vim` in the list of installed packages. - Updated the curl command to download `linuxgsm.sh` by using the `-Lo` option instead of just `-o`. - No longer fetching LinuxGSM modules separately. This commit refactors the Dockerfile for Ubuntu 20.04, making these changes to improve package installation and file downloading processes. --- Dockerfile.ubuntu-2204 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile.ubuntu-2204 b/Dockerfile.ubuntu-2204 index 9fc9347..d262160 100644 --- a/Dockerfile.ubuntu-2204 +++ b/Dockerfile.ubuntu-2204 @@ -61,7 +61,7 @@ RUN echo "**** Install Base LinuxGSM Requirements ****" \ iproute2 \ iputils-ping \ nano \ - nvim \ + vim \ && apt-get -y autoremove \ && apt-get -y clean \ && rm -rf /var/lib/apt/lists/* \ @@ -102,7 +102,7 @@ HEALTHCHECK --interval=1m --timeout=1m --start-period=2m --retries=1 CMD /app/en ## Download linuxgsm.sh RUN echo "**** Download linuxgsm.sh ****" \ && set -ex \ - && curl -o linuxgsm.sh "https://raw.githubusercontent.com/GameServerManagers/LinuxGSM/${LGSM_GITHUBBRANCH}/linuxgsm.sh" \ + && curl -Lo linuxgsm.sh "https://raw.githubusercontent.com/GameServerManagers/LinuxGSM/${LGSM_GITHUBBRANCH}/linuxgsm.sh" \ && chmod +x linuxgsm.sh RUN echo "**** Get LinuxGSM Modules ****" \