diff --git a/Dockerfile.ubuntu-1804 b/Dockerfile.ubuntu-1804 index f1f6cf9..2cead3e 100644 --- a/Dockerfile.ubuntu-1804 +++ b/Dockerfile.ubuntu-1804 @@ -88,7 +88,10 @@ RUN echo "**** Install Node.js ****" \ # Install GameDig https://docs.linuxgsm.com/requirements/gamedig RUN echo "**** Install GameDig ****" \ - && npm install -g gamedig + && npm install -g gamedig@4.3.1 +WORKDIR /app/lgsm \ + wget -N --no-check-certificate "https://raw.githubusercontent.com/GameServerManagers/LinuxGSM/${LGSM_GITHUBBRANCH}/package.json" \ + && npm install WORKDIR /app diff --git a/Dockerfile.ubuntu-2004 b/Dockerfile.ubuntu-2004 index 43565fb..d146827 100644 --- a/Dockerfile.ubuntu-2004 +++ b/Dockerfile.ubuntu-2004 @@ -88,7 +88,10 @@ RUN echo "**** Install Node.js ****" \ # Install GameDig https://docs.linuxgsm.com/requirements/gamedig RUN echo "**** Install GameDig ****" \ - && npm install -g gamedig + && npm install -g gamedig@4.3.1 +WORKDIR /app/lgsm \ + wget -N --no-check-certificate "https://raw.githubusercontent.com/GameServerManagers/LinuxGSM/${LGSM_GITHUBBRANCH}/package.json" \ + && npm install WORKDIR /app diff --git a/Dockerfile.ubuntu-2204 b/Dockerfile.ubuntu-2204 index c8c824c..0bb1a11 100644 --- a/Dockerfile.ubuntu-2204 +++ b/Dockerfile.ubuntu-2204 @@ -89,7 +89,10 @@ RUN echo "**** Install Node.js ****" \ # Install GameDig https://docs.linuxgsm.com/requirements/gamedig RUN echo "**** Install GameDig ****" \ - && npm install -g gamedig + && npm install -g gamedig@4.3.1 +WORKDIR /app/lgsm \ + wget -N --no-check-certificate "https://raw.githubusercontent.com/GameServerManagers/LinuxGSM/${LGSM_GITHUBBRANCH}/package.json" \ + && npm install WORKDIR /app