Update Dockerfile

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

View file

@ -12,6 +12,7 @@ ENV WINEPREFIX=/var/opt/wineprefix64
RUN dpkg --add-architecture i386 \ RUN dpkg --add-architecture i386 \
&& apt-get update \ && apt-get update \
&& apt-get install -y --no-install-recommends \ && apt-get install -y --no-install-recommends \
sudo \
ca-certificates \ ca-certificates \
xwayland-run \ xwayland-run \
cage \ cage \
@ -45,7 +46,7 @@ RUN set -eux; \
# Create user # Create user
RUN useradd -m -s /bin/bash mclce RUN useradd -m -s /bin/bash mclce
# Give maxima sudo without password # Give sudo without password
RUN echo "maxima ALL=(ALL) NOPASSWD:ALL" > /etc/sudoers.d/mclce \ RUN echo "maxima ALL=(ALL) NOPASSWD:ALL" > /etc/sudoers.d/mclce \
&& chmod 0440 /etc/sudoers.d/mclce && chmod 0440 /etc/sudoers.d/mclce