This commit is contained in:
parent
f62a66ab15
commit
f17273f62d
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue