Skip to content

Commit 580a23e

Browse files
committed
Generate Dockerfiles
1 parent 4286b65 commit 580a23e

File tree

137 files changed

+2192
-3973
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

137 files changed

+2192
-3973
lines changed

dockerfiles/Dockerfile-ac

Lines changed: 16 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,16 @@
1-
#
2-
# LinuxGSM Assetto Corsa Dockerfile
3-
#
4-
# https://github.com/GameServerManagers/docker-gameserver
5-
#
6-
7-
FROM ghcr.io/gameservermanagers/linuxgsm:ubuntu-24.04
8-
LABEL maintainer="LinuxGSM <[email protected]>"
9-
ARG SHORTNAME=ac
10-
ENV GAMESERVER=acserver
11-
12-
WORKDIR /app
13-
14-
## 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="ac" -F, '$1==shortname {$1=""; print $0}') \
16-
&& if [ -n "${depshortname}" ]; then \
17-
echo "**** Install ${depshortname} ****" \
18-
&& apt-get update \
19-
&& apt-get install -y ${depshortname} \
20-
&& apt-get -y autoremove \
21-
&& apt-get clean \
22-
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*; \
23-
fi
24-
25-
HEALTHCHECK --interval=1m --timeout=1m --start-period=2m --retries=1 CMD /app/entrypoint-healthcheck.sh || exit 1
26-
27-
RUN date > /build-time.txt
28-
29-
ENTRYPOINT ["/bin/bash", "./entrypoint.sh"]
1+
# # LinuxGSM Assetto Corsa Dockerfile # #
2+
https://github.com/GameServerManagers/docker-gameserver # FROM
3+
ghcr.io/gameservermanagers/linuxgsm:ubuntu-24.04 LABEL maintainer="LinuxGSM
4+
5+
>" ARG SHORTNAME=ac ENV GAMESERVER=acserver WORKDIR
6+
/app ## Auto install game server requirements RUN depshortname=$(curl
7+
--connect-timeout 10 -s
8+
https://raw.githubusercontent.com/GameServerManagers/LinuxGSM/master/lgsm/data/ubuntu-24.04.csv
9+
|awk -v shortname="ac" -F, '$1==shortname {$1=""; print $0}') \
10+
&& if [ -n "${depshortname}" ]; then \ echo "**** Install ${depshortname}
11+
****" \ && apt-get update \ && apt-get install -y ${depshortname} \ && apt-get
12+
-y autoremove \ && apt-get clean \ && rm -rf /var/lib/apt/lists/* /tmp/*
13+
/var/tmp/*; \ fi HEALTHCHECK --interval=1m --timeout=1m --start-period=2m
14+
--retries=1 CMD /app/entrypoint-healthcheck.sh || exit 1 RUN date >
15+
/build-time.txt ENTRYPOINT ["/bin/bash", "./entrypoint.sh"]
16+

dockerfiles/Dockerfile-ahl

Lines changed: 16 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,16 @@
1-
#
2-
# LinuxGSM Action Half-Life Dockerfile
3-
#
4-
# https://github.com/GameServerManagers/docker-gameserver
5-
#
6-
7-
FROM ghcr.io/gameservermanagers/linuxgsm:ubuntu-24.04
8-
LABEL maintainer="LinuxGSM <[email protected]>"
9-
ARG SHORTNAME=ahl
10-
ENV GAMESERVER=ahlserver
11-
12-
WORKDIR /app
13-
14-
## 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="ahl" -F, '$1==shortname {$1=""; print $0}') \
16-
&& if [ -n "${depshortname}" ]; then \
17-
echo "**** Install ${depshortname} ****" \
18-
&& apt-get update \
19-
&& apt-get install -y ${depshortname} \
20-
&& apt-get -y autoremove \
21-
&& apt-get clean \
22-
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*; \
23-
fi
24-
25-
HEALTHCHECK --interval=1m --timeout=1m --start-period=2m --retries=1 CMD /app/entrypoint-healthcheck.sh || exit 1
26-
27-
RUN date > /build-time.txt
28-
29-
ENTRYPOINT ["/bin/bash", "./entrypoint.sh"]
1+
# # LinuxGSM Action Half-Life Dockerfile # #
2+
https://github.com/GameServerManagers/docker-gameserver # FROM
3+
ghcr.io/gameservermanagers/linuxgsm:ubuntu-24.04 LABEL maintainer="LinuxGSM
4+
5+
>" ARG SHORTNAME=ahl ENV GAMESERVER=ahlserver WORKDIR
6+
/app ## Auto install game server requirements RUN depshortname=$(curl
7+
--connect-timeout 10 -s
8+
https://raw.githubusercontent.com/GameServerManagers/LinuxGSM/master/lgsm/data/ubuntu-24.04.csv
9+
|awk -v shortname="ahl" -F, '$1==shortname {$1=""; print $0}') \
10+
&& if [ -n "${depshortname}" ]; then \ echo "**** Install ${depshortname}
11+
****" \ && apt-get update \ && apt-get install -y ${depshortname} \ && apt-get
12+
-y autoremove \ && apt-get clean \ && rm -rf /var/lib/apt/lists/* /tmp/*
13+
/var/tmp/*; \ fi HEALTHCHECK --interval=1m --timeout=1m --start-period=2m
14+
--retries=1 CMD /app/entrypoint-healthcheck.sh || exit 1 RUN date >
15+
/build-time.txt ENTRYPOINT ["/bin/bash", "./entrypoint.sh"]
16+

dockerfiles/Dockerfile-ahl2

Lines changed: 16 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,16 @@
1-
#
2-
# LinuxGSM Action: Source Dockerfile
3-
#
4-
# https://github.com/GameServerManagers/docker-gameserver
5-
#
6-
7-
FROM ghcr.io/gameservermanagers/linuxgsm:ubuntu-24.04
8-
LABEL maintainer="LinuxGSM <[email protected]>"
9-
ARG SHORTNAME=ahl2
10-
ENV GAMESERVER=ahl2server
11-
12-
WORKDIR /app
13-
14-
## 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="ahl2" -F, '$1==shortname {$1=""; print $0}') \
16-
&& if [ -n "${depshortname}" ]; then \
17-
echo "**** Install ${depshortname} ****" \
18-
&& apt-get update \
19-
&& apt-get install -y ${depshortname} \
20-
&& apt-get -y autoremove \
21-
&& apt-get clean \
22-
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*; \
23-
fi
24-
25-
HEALTHCHECK --interval=1m --timeout=1m --start-period=2m --retries=1 CMD /app/entrypoint-healthcheck.sh || exit 1
26-
27-
RUN date > /build-time.txt
28-
29-
ENTRYPOINT ["/bin/bash", "./entrypoint.sh"]
1+
# # LinuxGSM Action: Source Dockerfile # #
2+
https://github.com/GameServerManagers/docker-gameserver # FROM
3+
ghcr.io/gameservermanagers/linuxgsm:ubuntu-24.04 LABEL maintainer="LinuxGSM
4+
5+
>" ARG SHORTNAME=ahl2 ENV GAMESERVER=ahl2server WORKDIR
6+
/app ## Auto install game server requirements RUN depshortname=$(curl
7+
--connect-timeout 10 -s
8+
https://raw.githubusercontent.com/GameServerManagers/LinuxGSM/master/lgsm/data/ubuntu-24.04.csv
9+
|awk -v shortname="ahl2" -F, '$1==shortname {$1=""; print $0}') \
10+
&& if [ -n "${depshortname}" ]; then \ echo "**** Install ${depshortname}
11+
****" \ && apt-get update \ && apt-get install -y ${depshortname} \ && apt-get
12+
-y autoremove \ && apt-get clean \ && rm -rf /var/lib/apt/lists/* /tmp/*
13+
/var/tmp/*; \ fi HEALTHCHECK --interval=1m --timeout=1m --start-period=2m
14+
--retries=1 CMD /app/entrypoint-healthcheck.sh || exit 1 RUN date >
15+
/build-time.txt ENTRYPOINT ["/bin/bash", "./entrypoint.sh"]
16+

dockerfiles/Dockerfile-ark

Lines changed: 16 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,16 @@
1-
#
2-
# LinuxGSM ARK: Survival Evolved Dockerfile
3-
#
4-
# https://github.com/GameServerManagers/docker-gameserver
5-
#
6-
7-
FROM ghcr.io/gameservermanagers/linuxgsm:ubuntu-24.04
8-
LABEL maintainer="LinuxGSM <[email protected]>"
9-
ARG SHORTNAME=ark
10-
ENV GAMESERVER=arkserver
11-
12-
WORKDIR /app
13-
14-
## 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="ark" -F, '$1==shortname {$1=""; print $0}') \
16-
&& if [ -n "${depshortname}" ]; then \
17-
echo "**** Install ${depshortname} ****" \
18-
&& apt-get update \
19-
&& apt-get install -y ${depshortname} \
20-
&& apt-get -y autoremove \
21-
&& apt-get clean \
22-
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*; \
23-
fi
24-
25-
HEALTHCHECK --interval=1m --timeout=1m --start-period=2m --retries=1 CMD /app/entrypoint-healthcheck.sh || exit 1
26-
27-
RUN date > /build-time.txt
28-
29-
ENTRYPOINT ["/bin/bash", "./entrypoint.sh"]
1+
# # LinuxGSM ARK: Survival Evolved Dockerfile # #
2+
https://github.com/GameServerManagers/docker-gameserver # FROM
3+
ghcr.io/gameservermanagers/linuxgsm:ubuntu-24.04 LABEL maintainer="LinuxGSM
4+
5+
>" ARG SHORTNAME=ark ENV GAMESERVER=arkserver WORKDIR
6+
/app ## Auto install game server requirements RUN depshortname=$(curl
7+
--connect-timeout 10 -s
8+
https://raw.githubusercontent.com/GameServerManagers/LinuxGSM/master/lgsm/data/ubuntu-24.04.csv
9+
|awk -v shortname="ark" -F, '$1==shortname {$1=""; print $0}') \
10+
&& if [ -n "${depshortname}" ]; then \ echo "**** Install ${depshortname}
11+
****" \ && apt-get update \ && apt-get install -y ${depshortname} \ && apt-get
12+
-y autoremove \ && apt-get clean \ && rm -rf /var/lib/apt/lists/* /tmp/*
13+
/var/tmp/*; \ fi HEALTHCHECK --interval=1m --timeout=1m --start-period=2m
14+
--retries=1 CMD /app/entrypoint-healthcheck.sh || exit 1 RUN date >
15+
/build-time.txt ENTRYPOINT ["/bin/bash", "./entrypoint.sh"]
16+

dockerfiles/Dockerfile-arma3

Lines changed: 16 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,16 @@
1-
#
2-
# LinuxGSM ARMA 3 Dockerfile
3-
#
4-
# https://github.com/GameServerManagers/docker-gameserver
5-
#
6-
7-
FROM ghcr.io/gameservermanagers/linuxgsm:ubuntu-24.04
8-
LABEL maintainer="LinuxGSM <[email protected]>"
9-
ARG SHORTNAME=arma3
10-
ENV GAMESERVER=arma3server
11-
12-
WORKDIR /app
13-
14-
## 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="arma3" -F, '$1==shortname {$1=""; print $0}') \
16-
&& if [ -n "${depshortname}" ]; then \
17-
echo "**** Install ${depshortname} ****" \
18-
&& apt-get update \
19-
&& apt-get install -y ${depshortname} \
20-
&& apt-get -y autoremove \
21-
&& apt-get clean \
22-
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*; \
23-
fi
24-
25-
HEALTHCHECK --interval=1m --timeout=1m --start-period=2m --retries=1 CMD /app/entrypoint-healthcheck.sh || exit 1
26-
27-
RUN date > /build-time.txt
28-
29-
ENTRYPOINT ["/bin/bash", "./entrypoint.sh"]
1+
# # LinuxGSM ARMA 3 Dockerfile # #
2+
https://github.com/GameServerManagers/docker-gameserver # FROM
3+
ghcr.io/gameservermanagers/linuxgsm:ubuntu-24.04 LABEL maintainer="LinuxGSM
4+
5+
>" ARG SHORTNAME=arma3 ENV GAMESERVER=arma3server WORKDIR
6+
/app ## Auto install game server requirements RUN depshortname=$(curl
7+
--connect-timeout 10 -s
8+
https://raw.githubusercontent.com/GameServerManagers/LinuxGSM/master/lgsm/data/ubuntu-24.04.csv
9+
|awk -v shortname="arma3" -F, '$1==shortname {$1=""; print $0}') \
10+
&& if [ -n "${depshortname}" ]; then \ echo "**** Install ${depshortname}
11+
****" \ && apt-get update \ && apt-get install -y ${depshortname} \ && apt-get
12+
-y autoremove \ && apt-get clean \ && rm -rf /var/lib/apt/lists/* /tmp/*
13+
/var/tmp/*; \ fi HEALTHCHECK --interval=1m --timeout=1m --start-period=2m
14+
--retries=1 CMD /app/entrypoint-healthcheck.sh || exit 1 RUN date >
15+
/build-time.txt ENTRYPOINT ["/bin/bash", "./entrypoint.sh"]
16+

dockerfiles/Dockerfile-armar

Lines changed: 16 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,16 @@
1-
#
2-
# LinuxGSM Arma Reforger Dockerfile
3-
#
4-
# https://github.com/GameServerManagers/docker-gameserver
5-
#
6-
7-
FROM ghcr.io/gameservermanagers/linuxgsm:ubuntu-24.04
8-
LABEL maintainer="LinuxGSM <[email protected]>"
9-
ARG SHORTNAME=armar
10-
ENV GAMESERVER=armarserver
11-
12-
WORKDIR /app
13-
14-
## 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="armar" -F, '$1==shortname {$1=""; print $0}') \
16-
&& if [ -n "${depshortname}" ]; then \
17-
echo "**** Install ${depshortname} ****" \
18-
&& apt-get update \
19-
&& apt-get install -y ${depshortname} \
20-
&& apt-get -y autoremove \
21-
&& apt-get clean \
22-
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*; \
23-
fi
24-
25-
HEALTHCHECK --interval=1m --timeout=1m --start-period=2m --retries=1 CMD /app/entrypoint-healthcheck.sh || exit 1
26-
27-
RUN date > /build-time.txt
28-
29-
ENTRYPOINT ["/bin/bash", "./entrypoint.sh"]
1+
# # LinuxGSM Arma Reforger Dockerfile # #
2+
https://github.com/GameServerManagers/docker-gameserver # FROM
3+
ghcr.io/gameservermanagers/linuxgsm:ubuntu-24.04 LABEL maintainer="LinuxGSM
4+
5+
>" ARG SHORTNAME=armar ENV GAMESERVER=armarserver WORKDIR
6+
/app ## Auto install game server requirements RUN depshortname=$(curl
7+
--connect-timeout 10 -s
8+
https://raw.githubusercontent.com/GameServerManagers/LinuxGSM/master/lgsm/data/ubuntu-24.04.csv
9+
|awk -v shortname="armar" -F, '$1==shortname {$1=""; print $0}') \
10+
&& if [ -n "${depshortname}" ]; then \ echo "**** Install ${depshortname}
11+
****" \ && apt-get update \ && apt-get install -y ${depshortname} \ && apt-get
12+
-y autoremove \ && apt-get clean \ && rm -rf /var/lib/apt/lists/* /tmp/*
13+
/var/tmp/*; \ fi HEALTHCHECK --interval=1m --timeout=1m --start-period=2m
14+
--retries=1 CMD /app/entrypoint-healthcheck.sh || exit 1 RUN date >
15+
/build-time.txt ENTRYPOINT ["/bin/bash", "./entrypoint.sh"]
16+

dockerfiles/Dockerfile-ats

Lines changed: 16 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,16 @@
1-
#
2-
# LinuxGSM American Truck Simulator Dockerfile
3-
#
4-
# https://github.com/GameServerManagers/docker-gameserver
5-
#
6-
7-
FROM ghcr.io/gameservermanagers/linuxgsm:ubuntu-24.04
8-
LABEL maintainer="LinuxGSM <[email protected]>"
9-
ARG SHORTNAME=ats
10-
ENV GAMESERVER=atsserver
11-
12-
WORKDIR /app
13-
14-
## 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="ats" -F, '$1==shortname {$1=""; print $0}') \
16-
&& if [ -n "${depshortname}" ]; then \
17-
echo "**** Install ${depshortname} ****" \
18-
&& apt-get update \
19-
&& apt-get install -y ${depshortname} \
20-
&& apt-get -y autoremove \
21-
&& apt-get clean \
22-
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*; \
23-
fi
24-
25-
HEALTHCHECK --interval=1m --timeout=1m --start-period=2m --retries=1 CMD /app/entrypoint-healthcheck.sh || exit 1
26-
27-
RUN date > /build-time.txt
28-
29-
ENTRYPOINT ["/bin/bash", "./entrypoint.sh"]
1+
# # LinuxGSM American Truck Simulator Dockerfile # #
2+
https://github.com/GameServerManagers/docker-gameserver # FROM
3+
ghcr.io/gameservermanagers/linuxgsm:ubuntu-24.04 LABEL maintainer="LinuxGSM
4+
5+
>" ARG SHORTNAME=ats ENV GAMESERVER=atsserver WORKDIR
6+
/app ## Auto install game server requirements RUN depshortname=$(curl
7+
--connect-timeout 10 -s
8+
https://raw.githubusercontent.com/GameServerManagers/LinuxGSM/master/lgsm/data/ubuntu-24.04.csv
9+
|awk -v shortname="ats" -F, '$1==shortname {$1=""; print $0}') \
10+
&& if [ -n "${depshortname}" ]; then \ echo "**** Install ${depshortname}
11+
****" \ && apt-get update \ && apt-get install -y ${depshortname} \ && apt-get
12+
-y autoremove \ && apt-get clean \ && rm -rf /var/lib/apt/lists/* /tmp/*
13+
/var/tmp/*; \ fi HEALTHCHECK --interval=1m --timeout=1m --start-period=2m
14+
--retries=1 CMD /app/entrypoint-healthcheck.sh || exit 1 RUN date >
15+
/build-time.txt ENTRYPOINT ["/bin/bash", "./entrypoint.sh"]
16+

dockerfiles/Dockerfile-av

Lines changed: 16 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,16 @@
1-
#
2-
# LinuxGSM Avorion Dockerfile
3-
#
4-
# https://github.com/GameServerManagers/docker-gameserver
5-
#
6-
7-
FROM ghcr.io/gameservermanagers/linuxgsm:ubuntu-24.04
8-
LABEL maintainer="LinuxGSM <[email protected]>"
9-
ARG SHORTNAME=av
10-
ENV GAMESERVER=avserver
11-
12-
WORKDIR /app
13-
14-
## 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="av" -F, '$1==shortname {$1=""; print $0}') \
16-
&& if [ -n "${depshortname}" ]; then \
17-
echo "**** Install ${depshortname} ****" \
18-
&& apt-get update \
19-
&& apt-get install -y ${depshortname} \
20-
&& apt-get -y autoremove \
21-
&& apt-get clean \
22-
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*; \
23-
fi
24-
25-
HEALTHCHECK --interval=1m --timeout=1m --start-period=2m --retries=1 CMD /app/entrypoint-healthcheck.sh || exit 1
26-
27-
RUN date > /build-time.txt
28-
29-
ENTRYPOINT ["/bin/bash", "./entrypoint.sh"]
1+
# # LinuxGSM Avorion Dockerfile # #
2+
https://github.com/GameServerManagers/docker-gameserver # FROM
3+
ghcr.io/gameservermanagers/linuxgsm:ubuntu-24.04 LABEL maintainer="LinuxGSM
4+
5+
>" ARG SHORTNAME=av ENV GAMESERVER=avserver WORKDIR
6+
/app ## Auto install game server requirements RUN depshortname=$(curl
7+
--connect-timeout 10 -s
8+
https://raw.githubusercontent.com/GameServerManagers/LinuxGSM/master/lgsm/data/ubuntu-24.04.csv
9+
|awk -v shortname="av" -F, '$1==shortname {$1=""; print $0}') \
10+
&& if [ -n "${depshortname}" ]; then \ echo "**** Install ${depshortname}
11+
****" \ && apt-get update \ && apt-get install -y ${depshortname} \ && apt-get
12+
-y autoremove \ && apt-get clean \ && rm -rf /var/lib/apt/lists/* /tmp/*
13+
/var/tmp/*; \ fi HEALTHCHECK --interval=1m --timeout=1m --start-period=2m
14+
--retries=1 CMD /app/entrypoint-healthcheck.sh || exit 1 RUN date >
15+
/build-time.txt ENTRYPOINT ["/bin/bash", "./entrypoint.sh"]
16+

0 commit comments

Comments
 (0)