NOTICKET: Setup
All checks were successful
CI / build (push) Successful in 2m51s

This commit is contained in:
Snoweuph 2024-02-11 11:06:19 +01:00
parent f62a66ab15
commit f17273f62d
Signed by: Snoweuph
GPG key ID: A494330694B208EF

View file

@ -2,8 +2,9 @@ FROM registry.opensuse.org/opensuse/leap:15.5
# Settting up User # Settting up User
RUN zypper -n install docker sudo RUN zypper -n install docker sudo
RUN useradd -u 998 runner RUN useradd -u 1001 runner
RUN systemctl enable docker RUN systemctl enable docker
RUN groupmod -g 998 docker
RUN usermod -aG docker runner RUN usermod -aG docker runner
RUN newgrp docker RUN newgrp docker
RUN echo "runner ALL=(ALL:ALL) NOPASSWD:ALL" > /etc/sudoers.d/runner RUN echo "runner ALL=(ALL:ALL) NOPASSWD:ALL" > /etc/sudoers.d/runner