From 0789fe3aac52137856e9acfbe669db70de85c26b Mon Sep 17 00:00:00 2001 From: 4g0tt3nSou1 <20174713+4g0tt3nSou1@users.noreply.github.com> Date: Tue, 1 Oct 2024 15:04:36 -0500 Subject: [PATCH 1/3] Update Dockerfile Should fix the issue regarding fileperms issues https://github.com/ValveSoftware/steam-for-linux/issues/10979 --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 5ab5cfa..9cd78c0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,6 +5,7 @@ FROM cm2network/steamcmd:root LABEL maintainer="daniel.carrasco@electrosoftcloud.com" +ENV HOME "${HOMEDIR}" ENV STEAMAPPID 380870 ENV STEAMAPP pz ENV STEAMAPPDIR "${HOMEDIR}/${STEAMAPP}-dedicated" @@ -42,4 +43,4 @@ WORKDIR ${HOMEDIR} EXPOSE 16261-16262/udp \ 27015/tcp -ENTRYPOINT ["/server/scripts/entry.sh"] \ No newline at end of file +ENTRYPOINT ["/server/scripts/entry.sh"] From 494d40d888d46add2971e797c3fc6a3c0b583ab6 Mon Sep 17 00:00:00 2001 From: 4g0tt3nSou1 <20174713+4g0tt3nSou1@users.noreply.github.com> Date: Tue, 1 Oct 2024 15:42:05 -0500 Subject: [PATCH 2/3] Update Dockerfile fix docker build warnings regarding env key definitions --- Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 9cd78c0..4c9009b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,10 +5,10 @@ FROM cm2network/steamcmd:root LABEL maintainer="daniel.carrasco@electrosoftcloud.com" -ENV HOME "${HOMEDIR}" -ENV STEAMAPPID 380870 -ENV STEAMAPP pz -ENV STEAMAPPDIR "${HOMEDIR}/${STEAMAPP}-dedicated" +ENV HOME="${HOMEDIR}" +ENV STEAMAPPID=380870 +ENV STEAMAPP=pz +ENV STEAMAPPDIR="${HOMEDIR}/${STEAMAPP}-dedicated" # Install required packages RUN apt-get update \ From 49134e1d76d271424f7f0ede070bb8ea28ec56ea Mon Sep 17 00:00:00 2001 From: 4g0tt3nSou1 <20174713+4g0tt3nSou1@users.noreply.github.com> Date: Tue, 1 Oct 2024 15:44:02 -0500 Subject: [PATCH 3/3] Update Dockerfile --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 4c9009b..441bad5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ ########################################################### -# Dockerfile that builds a CSGO Gameserver +# Dockerfile that builds a Project Zomboid Gameserver ########################################################### FROM cm2network/steamcmd:root