This commit is contained in:
parent
6a0e59c8d9
commit
3e4a2a425c
1 changed files with 3 additions and 9 deletions
|
@ -1,13 +1,7 @@
|
||||||
FROM registry.access.redhat.com/ubi9/ubi-init
|
FROM registry.opensuse.org/opensuse/leap:15.5
|
||||||
|
|
||||||
RUN yum -y install openssh-clients shadow-utils sudo wget git zip unzip xz nodejs npm
|
RUN zypper -n install nodejs20
|
||||||
|
|
||||||
RUN adduser -m --uid 1001 runner \
|
RUN useradd runner
|
||||||
&& groupadd docker --gid 123 \
|
|
||||||
&& usermod -aG docker runner \
|
|
||||||
&& usermod -aG wheel runner \
|
|
||||||
&& echo "%weel ALL=(ALL:ALL) NOPASSWD:ALL" > /etc/sudoers
|
|
||||||
|
|
||||||
WORKDIR /home/runner
|
|
||||||
|
|
||||||
USER runner
|
USER runner
|
Loading…
Reference in a new issue