mirror of
https://github.com/YuzuZensai/palworld-server-docker.git
synced 2026-01-06 04:32:43 +00:00
Minimized processes running as root.
This commit is contained in:
@@ -10,7 +10,8 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
|
||||
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
|
||||
RUN wget -q https://github.com/gorcon/rcon-cli/releases/download/v0.10.3/rcon-0.10.3-amd64_linux.tar.gz -O - | tar -xz && \
|
||||
mv rcon-0.10.3-amd64_linux/rcon /usr/bin/rcon-cli
|
||||
mv rcon-0.10.3-amd64_linux/rcon /usr/bin/rcon-cli && \
|
||||
ln -s /home/steam/server/rcon.yaml /root/rcon.yaml
|
||||
|
||||
ENV PORT= \
|
||||
PUID=1000 \
|
||||
@@ -31,8 +32,8 @@ ENV PORT= \
|
||||
SERVER_DESCRIPTION=
|
||||
|
||||
COPY ./scripts/* /home/steam/server/
|
||||
RUN chmod +x /home/steam/server/init.sh /home/steam/server/start.sh /home/steam/server/backup.sh && \
|
||||
mv /home/steam/server/backup.sh /usr/local/bin/backup
|
||||
RUN chmod u+x /home/steam/server/init.sh /home/steam/server/start.sh /home/steam/server/backup.sh && \
|
||||
ln -s /home/steam/server/backup.sh /usr/local/bin/backup
|
||||
|
||||
WORKDIR /home/steam/server
|
||||
|
||||
|
||||
Reference in New Issue
Block a user