NOTICKET: Setup
Some checks failed
CI / build (push) Failing after 1s

This commit is contained in:
Snoweuph 2024-02-10 21:39:54 +01:00
parent 4b27e243b4
commit 6a0e59c8d9
Signed by: Snoweuph
GPG key ID: A494330694B208EF

View file

@ -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 adduser -m -p "password" --uid 1001 runner\
RUN adduser -m --uid 1001 runner \
&& groupadd docker --gid 123 \
&& usermod -aG docker 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