Compare commits
2 commits
0ef8673027
...
0c233ec8df
Author | SHA1 | Date | |
---|---|---|---|
0c233ec8df | |||
e1f2b814b0 |
1 changed files with 2 additions and 3 deletions
|
@ -2,9 +2,8 @@ FROM registry.opensuse.org/opensuse/leap:15.5
|
|||
|
||||
RUN zypper -n install sudo nodejs20
|
||||
|
||||
RUN useradd --uid 1001 runner
|
||||
RUN usermod -aG wheel runner
|
||||
RUN echo "%wheel ALL=(ALL:ALL) NOPASSWD:ALL" > /etc/sudoers
|
||||
RUN useradd -u 1001 runner
|
||||
RUN echo "runner ALL=(ALL:ALL) NOPASSWD:ALL" > /etc/sudoers.d/runner
|
||||
|
||||
WORKDIR /home/runner
|
||||
USER runner
|
Loading…
Reference in a new issue