This commit is contained in:
parent
238c7179f7
commit
9036f78611
1 changed files with 7 additions and 4 deletions
|
@ -1,10 +1,13 @@
|
||||||
FROM registry.access.redhat.com/ubi9/ubi-init
|
FROM registry.access.redhat.com/ubi9/ubi-init
|
||||||
|
|
||||||
RUN yum -y install openssh-clients shadow-utils 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 -p "password" --uid 1001 runner && passwd -d runner\
|
RUN adduser -p "password" --uid 1001 runner && passwd -d runner\
|
||||||
&& groupadd docker --gid 123 \
|
&& groupadd docker --gid 123 \
|
||||||
&& usermod -aG docker runner
|
&& usermod -aG docker runner \
|
||||||
|
&& usermod -aG wheel runner \
|
||||||
|
&& echo "%sudo ALL=(ALL:ALL) NOPASSWD:ALL" > /etc/sudoers
|
||||||
|
|
||||||
|
WORKDIR /home/runner
|
||||||
|
|
||||||
# Set User to Runner
|
|
||||||
USER runner
|
USER runner
|
Loading…
Reference in a new issue