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

This commit is contained in:
Snoweuph 2024-02-10 22:00:37 +01:00
parent 6a0e59c8d9
commit 3e4a2a425c
Signed by: Snoweuph
GPG key ID: A494330694B208EF

View file

@ -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 \
&& groupadd docker --gid 123 \
&& usermod -aG docker runner \
&& usermod -aG wheel runner \
&& echo "%weel ALL=(ALL:ALL) NOPASSWD:ALL" > /etc/sudoers
WORKDIR /home/runner
RUN useradd runner
USER runner