mirror of
https://github.com/smartcmd/MinecraftConsoles.git
synced 2026-08-20 09:57:09 +00:00
Update Dockerfile
This commit is contained in:
parent
c57e85c7a2
commit
a3c03c7f81
|
|
@ -47,14 +47,15 @@ RUN set -eux; \
|
|||
RUN useradd -m -s /bin/bash mclce
|
||||
|
||||
# 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
|
||||
|
||||
USER mclce
|
||||
|
||||
# games dir
|
||||
# ownership
|
||||
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
|
||||
RUN curl -Lo /tmp/LCEServerWindows64.zip \
|
||||
|
|
|
|||
Loading…
Reference in a new issue