Skip to content

Commit 1f628a4

Browse files
committed
Generate Dockerfiles
1 parent 5073ae5 commit 1f628a4

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

dockerfiles/Dockerfile.bf1942

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@
44
# https://github.com/GameServerManagers/docker-gameserver
55
#
66

7-
FROM ghcr.io/gameservermanagers/linuxgsm:ubuntu-24.04
7+
FROM ghcr.io/gameservermanagers/linuxgsm:ubuntu-22.04
88
LABEL maintainer="LinuxGSM <[email protected]>"
99
ARG SHORTNAME=bf1942
1010
ENV GAMESERVER=bf1942server
1111

1212
WORKDIR /app
1313

1414
## Auto install game server requirements
15-
RUN depshortname=$(curl --connect-timeout 10 -s https://raw.githubusercontent.com/GameServerManagers/LinuxGSM/master/lgsm/data/ubuntu-24.04.csv |awk -v shortname="bf1942" -F, '$1==shortname {$1=""; print $0}') \
15+
RUN depshortname=$(curl --connect-timeout 10 -s https://raw.githubusercontent.com/GameServerManagers/LinuxGSM/master/lgsm/data/ubuntu-22.04.csv |awk -v shortname="bf1942" -F, '$1==shortname {$1=""; print $0}') \
1616
&& if [ -n "${depshortname}" ]; then \
1717
echo "**** Install ${depshortname} ****" \
1818
&& apt-get update \

dockerfiles/Dockerfile.bfv

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@
44
# https://github.com/GameServerManagers/docker-gameserver
55
#
66

7-
FROM ghcr.io/gameservermanagers/linuxgsm:ubuntu-24.04
7+
FROM ghcr.io/gameservermanagers/linuxgsm:ubuntu-22.04
88
LABEL maintainer="LinuxGSM <[email protected]>"
99
ARG SHORTNAME=bfv
1010
ENV GAMESERVER=bfvserver
1111

1212
WORKDIR /app
1313

1414
## Auto install game server requirements
15-
RUN depshortname=$(curl --connect-timeout 10 -s https://raw.githubusercontent.com/GameServerManagers/LinuxGSM/master/lgsm/data/ubuntu-24.04.csv |awk -v shortname="bfv" -F, '$1==shortname {$1=""; print $0}') \
15+
RUN depshortname=$(curl --connect-timeout 10 -s https://raw.githubusercontent.com/GameServerManagers/LinuxGSM/master/lgsm/data/ubuntu-22.04.csv |awk -v shortname="bfv" -F, '$1==shortname {$1=""; print $0}') \
1616
&& if [ -n "${depshortname}" ]; then \
1717
echo "**** Install ${depshortname} ****" \
1818
&& apt-get update \

0 commit comments

Comments
 (0)