Update Dockerfile

This commit is contained in:
Twig6943 2026-03-27 10:13:49 +03:00 committed by GitHub
parent c57e85c7a2
commit a3c03c7f81
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -47,14 +47,15 @@ RUN set -eux; \
RUN useradd -m -s /bin/bash mclce RUN useradd -m -s /bin/bash mclce
# Give sudo without password # Give sudo without password
RUN echo "maxima ALL=(ALL) NOPASSWD:ALL" > /etc/sudoers.d/mclce \ RUN echo "mclce ALL=(ALL) NOPASSWD:ALL" > /etc/sudoers.d/mclce \
&& chmod 0440 /etc/sudoers.d/mclce && chmod 0440 /etc/sudoers.d/mclce
USER mclce USER mclce
# games dir # ownership
RUN sudo chmod 0755 /srv/mc && \ RUN sudo chmod 0755 /srv/mc && \
sudo chmod 0755 /srv/persist sudo chmod 0755 /srv/persist && \
sudo chmod 0755 /var/opt/wineprefix64
# latest server build # latest server build
RUN curl -Lo /tmp/LCEServerWindows64.zip \ RUN curl -Lo /tmp/LCEServerWindows64.zip \