Browse Source

fix ubuntu 22 and 20

pull/74/head
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 \ distro-info \
file \ file \
git \ git \
gnupg \
gosu \ gosu \
gzip \ gzip \
hostname \ hostname \
@ -92,9 +93,6 @@ RUN echo "**** Install Node.js ****" \
# Install GameDig https://docs.linuxgsm.com/requirements/gamedig # Install GameDig https://docs.linuxgsm.com/requirements/gamedig
RUN echo "**** Install GameDig ****" \ RUN echo "**** Install GameDig ****" \
&& npm install -g gamedig@5 && 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 WORKDIR /app
@ -138,6 +136,9 @@ COPY entrypoint.sh /app/entrypoint.sh
COPY entrypoint-user.sh /app/entrypoint-user.sh COPY entrypoint-user.sh /app/entrypoint-user.sh
COPY entrypoint-healthcheck.sh /app/entrypoint-healthcheck.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 RUN date > /build-time.txt
ENTRYPOINT ["/bin/bash", "./entrypoint.sh"] ENTRYPOINT ["/bin/bash", "./entrypoint.sh"]

4
Dockerfile.ubuntu-2204

@ -53,6 +53,7 @@ RUN echo "**** Install Base LinuxGSM Requirements ****" \
lib32gcc-s1 \ lib32gcc-s1 \
lib32stdc++6 \ lib32stdc++6 \
netcat \ netcat \
pigz \
python3 \ python3 \
sudo \ sudo \
tar \ tar \
@ -135,6 +136,9 @@ COPY entrypoint.sh /app/entrypoint.sh
COPY entrypoint-user.sh /app/entrypoint-user.sh COPY entrypoint-user.sh /app/entrypoint-user.sh
COPY entrypoint-healthcheck.sh /app/entrypoint-healthcheck.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 RUN date > /build-time.txt
ENTRYPOINT ["/bin/bash", "./entrypoint.sh"] ENTRYPOINT ["/bin/bash", "./entrypoint.sh"]

Loading…
Cancel
Save