NOTICKET: Setup
All checks were successful
CI / build (push) Successful in 1m9s

This commit is contained in:
Snoweuph 2024-02-10 20:17:53 +01:00
parent 238c7179f7
commit 9036f78611
Signed by: Snoweuph
GPG key ID: A494330694B208EF

View file

@ -1,10 +1,13 @@
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\
&& 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