Skip to content

Commit 07a5f31

Browse files
committed
fix ubuntu 22 and 20
1 parent 9218470 commit 07a5f31

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

Dockerfile.ubuntu-2004

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ RUN echo "**** Install Base LinuxGSM Requirements ****" \
4545
distro-info \
4646
file \
4747
git \
48+
gnupg \
4849
gosu \
4950
gzip \
5051
hostname \
@@ -92,9 +93,6 @@ RUN echo "**** Install Node.js ****" \
9293
# Install GameDig https://docs.linuxgsm.com/requirements/gamedig
9394
RUN echo "**** Install GameDig ****" \
9495
&& npm install -g gamedig@5
95-
WORKDIR /app/lgsm \
96-
wget -N --no-check-certificate "https://raw.githubusercontent.com/GameServerManagers/LinuxGSM/${LGSM_GITHUBBRANCH}/package.json" \
97-
&& npm install
9896

9997
WORKDIR /app
10098

@@ -138,6 +136,9 @@ COPY entrypoint.sh /app/entrypoint.sh
138136
COPY entrypoint-user.sh /app/entrypoint-user.sh
139137
COPY entrypoint-healthcheck.sh /app/entrypoint-healthcheck.sh
140138

139+
## Ensure entrypoint scripts have execute permissions
140+
RUN chmod +x /app/entrypoint.sh /app/entrypoint-user.sh /app/entrypoint-healthcheck.sh
141+
141142
RUN date > /build-time.txt
142143

143144
ENTRYPOINT ["/bin/bash", "./entrypoint.sh"]

Dockerfile.ubuntu-2204

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ RUN echo "**** Install Base LinuxGSM Requirements ****" \
5353
lib32gcc-s1 \
5454
lib32stdc++6 \
5555
netcat \
56+
pigz \
5657
python3 \
5758
sudo \
5859
tar \
@@ -135,6 +136,9 @@ COPY entrypoint.sh /app/entrypoint.sh
135136
COPY entrypoint-user.sh /app/entrypoint-user.sh
136137
COPY entrypoint-healthcheck.sh /app/entrypoint-healthcheck.sh
137138

139+
## Ensure entrypoint scripts have execute permissions
140+
RUN chmod +x /app/entrypoint.sh /app/entrypoint-user.sh /app/entrypoint-healthcheck.sh
141+
138142
RUN date > /build-time.txt
139143

140144
ENTRYPOINT ["/bin/bash", "./entrypoint.sh"]

0 commit comments

Comments
 (0)