From 9036f78611e227f3afd22d6b8716e97e250445f9 Mon Sep 17 00:00:00 2001 From: Snoweuph Date: Sat, 10 Feb 2024 20:17:53 +0100 Subject: [PATCH] NOTICKET: Setup --- images/actions/act/Dockerfile | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/images/actions/act/Dockerfile b/images/actions/act/Dockerfile index ee75157..27ebe04 100644 --- a/images/actions/act/Dockerfile +++ b/images/actions/act/Dockerfile @@ -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 + && groupadd docker --gid 123 \ + && 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 \ No newline at end of file