From 3e4a2a425c8b2a672a58402b415452f2e0aca2b4 Mon Sep 17 00:00:00 2001 From: Snoweuph Date: Sat, 10 Feb 2024 22:00:37 +0100 Subject: [PATCH] NOTICKET: Setup --- images/actions/act/Dockerfile | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/images/actions/act/Dockerfile b/images/actions/act/Dockerfile index ca9a86e..2eee129 100644 --- a/images/actions/act/Dockerfile +++ b/images/actions/act/Dockerfile @@ -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 \ No newline at end of file