Browse Source

fix ubuntu 22 and 20

main
Daniel Gibbs 1 month ago
parent
commit
07a5f31da0
  1. 7
      Dockerfile.ubuntu-2004
  2. 4
      Dockerfile.ubuntu-2204

7
Dockerfile.ubuntu-2004

@ -45,6 +45,7 @@ RUN echo "**** Install Base LinuxGSM Requirements ****" \
distro-info \
file \
git \
gnupg \
gosu \
gzip \
hostname \
@ -92,9 +93,6 @@ RUN echo "**** Install Node.js ****" \
# Install GameDig https://docs.linuxgsm.com/requirements/gamedig
RUN echo "**** Install GameDig ****" \
&& npm install -g gamedig@5
WORKDIR /app/lgsm \
wget -N --no-check-certificate "https://raw.githubusercontent.com/GameServerManagers/LinuxGSM/${LGSM_GITHUBBRANCH}/package.json" \
&& npm install
WORKDIR /app
@ -138,6 +136,9 @@ COPY entrypoint.sh /app/entrypoint.sh
COPY entrypoint-user.sh /app/entrypoint-user.sh
COPY entrypoint-healthcheck.sh /app/entrypoint-healthcheck.sh
## Ensure entrypoint scripts have execute permissions
RUN chmod +x /app/entrypoint.sh /app/entrypoint-user.sh /app/entrypoint-healthcheck.sh
RUN date > /build-time.txt
ENTRYPOINT ["/bin/bash", "./entrypoint.sh"]

4
Dockerfile.ubuntu-2204

@ -53,6 +53,7 @@ RUN echo "**** Install Base LinuxGSM Requirements ****" \
lib32gcc-s1 \
lib32stdc++6 \
netcat \
pigz \
python3 \
sudo \
tar \
@ -135,6 +136,9 @@ COPY entrypoint.sh /app/entrypoint.sh
COPY entrypoint-user.sh /app/entrypoint-user.sh
COPY entrypoint-healthcheck.sh /app/entrypoint-healthcheck.sh
## Ensure entrypoint scripts have execute permissions
RUN chmod +x /app/entrypoint.sh /app/entrypoint-user.sh /app/entrypoint-healthcheck.sh
RUN date > /build-time.txt
ENTRYPOINT ["/bin/bash", "./entrypoint.sh"]

Loading…
Cancel
Save