Skip to content

Commit 50d64ae

Browse files
committed
refactor: update Dockerfile for Ubuntu 18.04, 20.04, and 22.04
- Refactored the Dockerfile for Ubuntu 18.04, 20.04, and 22.04. - Replaced `wget` with `curl` to download linuxgsm.sh. - Updated package installation by replacing `vim` with `nvim`. - Updated README.md to reflect changes in the base LinuxGSM image. Co-authored-by: [Author Name]
1 parent 5ae008e commit 50d64ae

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

Dockerfile.ubuntu-1804

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ HEALTHCHECK --interval=1m --timeout=1m --start-period=2m --retries=1 CMD /app/en
102102
## Download linuxgsm.sh
103103
RUN echo "**** Download linuxgsm.sh ****" \
104104
&& set -ex \
105-
&& wget -O linuxgsm.sh "https://raw.githubusercontent.com/GameServerManagers/LinuxGSM/${LGSM_GITHUBBRANCH}/linuxgsm.sh" \
105+
&& curl -Lo linuxgsm.sh "https://raw.githubusercontent.com/GameServerManagers/LinuxGSM/${LGSM_GITHUBBRANCH}/linuxgsm.sh" \
106106
&& chmod +x linuxgsm.sh
107107

108108
RUN echo "**** Get LinuxGSM Modules ****" \

Dockerfile.ubuntu-2004

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ HEALTHCHECK --interval=1m --timeout=1m --start-period=2m --retries=1 CMD /app/en
102102
## Download linuxgsm.sh
103103
RUN echo "**** Download linuxgsm.sh ****" \
104104
&& set -ex \
105-
&& wget -O linuxgsm.sh "https://raw.githubusercontent.com/GameServerManagers/LinuxGSM/${LGSM_GITHUBBRANCH}/linuxgsm.sh" \
105+
&& curl -Lo linuxgsm.sh "https://raw.githubusercontent.com/GameServerManagers/LinuxGSM/${LGSM_GITHUBBRANCH}/linuxgsm.sh" \
106106
&& chmod +x linuxgsm.sh
107107

108108
RUN echo "**** Get LinuxGSM Modules ****" \

Dockerfile.ubuntu-2204

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ RUN echo "**** Install Base LinuxGSM Requirements ****" \
6161
iproute2 \
6262
iputils-ping \
6363
nano \
64-
vim \
64+
nvim \
6565
&& apt-get -y autoremove \
6666
&& apt-get -y clean \
6767
&& rm -rf /var/lib/apt/lists/* \
@@ -102,7 +102,7 @@ HEALTHCHECK --interval=1m --timeout=1m --start-period=2m --retries=1 CMD /app/en
102102
## Download linuxgsm.sh
103103
RUN echo "**** Download linuxgsm.sh ****" \
104104
&& set -ex \
105-
&& wget -O linuxgsm.sh "https://raw.githubusercontent.com/GameServerManagers/LinuxGSM/${LGSM_GITHUBBRANCH}/linuxgsm.sh" \
105+
&& curl -o linuxgsm.sh "https://raw.githubusercontent.com/GameServerManagers/LinuxGSM/${LGSM_GITHUBBRANCH}/linuxgsm.sh" \
106106
&& chmod +x linuxgsm.sh
107107

108108
RUN echo "**** Get LinuxGSM Modules ****" \

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# LinuxGSM Docker Image
1+
# LinuxGSM Base Docker Image
22

33
## This is the base LinuxGSM image only.
44
## Use <a href="https://github.com/GameServerManagers/docker-gameserver">docker-gameserver</a> for full game servers

0 commit comments

Comments
 (0)