From b0c8617ef3b541727c7d5b8634ba199e75617b53 Mon Sep 17 00:00:00 2001 From: Snoweuph Date: Sat, 10 Feb 2024 20:04:09 +0100 Subject: [PATCH] NOTICKET: Setup --- images/actions/act/Dockerfile | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/images/actions/act/Dockerfile b/images/actions/act/Dockerfile index c6fe66c..eeb4f89 100644 --- a/images/actions/act/Dockerfile +++ b/images/actions/act/Dockerfile @@ -1,14 +1,10 @@ FROM registry.access.redhat.com/ubi9/ubi-init -# Install Required Dependencies for Runner -RUN yum -y install openssh-clients -RUN yum -y install wget -RUN yum -y install git -RUN yum -y install zip -RUN yum -y install unzip -RUN yum -y install xz -RUN yum -y install nodejs18 -RUN yum -y install nodejs18-npm +RUN yum -y install openssh-clients shadow-utils 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 # Set User to Runner USER runner \ No newline at end of file