parent
7259f64957
commit
0ef8673027
1 changed files with 4 additions and 1 deletions
|
@ -1,7 +1,10 @@
|
||||||
FROM registry.opensuse.org/opensuse/leap:15.5
|
FROM registry.opensuse.org/opensuse/leap:15.5
|
||||||
|
|
||||||
RUN zypper -n install nodejs20
|
RUN zypper -n install sudo nodejs20
|
||||||
|
|
||||||
RUN useradd --uid 1001 runner
|
RUN useradd --uid 1001 runner
|
||||||
|
RUN usermod -aG wheel runner
|
||||||
|
RUN echo "%wheel ALL=(ALL:ALL) NOPASSWD:ALL" > /etc/sudoers
|
||||||
|
|
||||||
WORKDIR /home/runner
|
WORKDIR /home/runner
|
||||||
USER runner
|
USER runner
|
Loading…
Reference in a new issue