This commit is contained in:
parent
f126a36c1b
commit
1419b595a2
1 changed files with 2 additions and 0 deletions
|
@ -3,6 +3,8 @@ FROM registry.opensuse.org/opensuse/leap:15.5
|
|||
RUN zypper -n install docker
|
||||
RUN useradd -u 1001 runner
|
||||
RUN usermod -aG docker runner
|
||||
RUN newgrp docker
|
||||
RUN systemctl enable docker.service
|
||||
|
||||
RUN zypper -n install sudo
|
||||
RUN echo "runner ALL=(ALL:ALL) NOPASSWD:ALL" > /etc/sudoers.d/runner
|
||||
|
|
Loading…
Reference in a new issue