Skip to content

Commit f58cb56

Browse files
committed
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.
1 parent 50d64ae commit f58cb56

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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-
nvim \
64+
vim \
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-
&& curl -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 ****" \

0 commit comments

Comments
 (0)