parent
4b27e243b4
commit
6a0e59c8d9
1 changed files with 2 additions and 2 deletions
|
@ -2,11 +2,11 @@ FROM registry.access.redhat.com/ubi9/ubi-init
|
||||||
|
|
||||||
RUN yum -y install openssh-clients shadow-utils sudo wget git zip unzip xz nodejs npm
|
RUN yum -y install openssh-clients shadow-utils sudo wget git zip unzip xz nodejs npm
|
||||||
|
|
||||||
RUN adduser -m -p "password" --uid 1001 runner\
|
RUN adduser -m --uid 1001 runner \
|
||||||
&& groupadd docker --gid 123 \
|
&& groupadd docker --gid 123 \
|
||||||
&& usermod -aG docker runner \
|
&& usermod -aG docker runner \
|
||||||
&& usermod -aG wheel runner \
|
&& usermod -aG wheel runner \
|
||||||
&& echo "%sudo ALL=(ALL:ALL) NOPASSWD:ALL" > /etc/sudoers
|
&& echo "%weel ALL=(ALL:ALL) NOPASSWD:ALL" > /etc/sudoers
|
||||||
|
|
||||||
WORKDIR /home/runner
|
WORKDIR /home/runner
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue