From f126a36c1bf9d79876bca8e06c8315662fc3bc6a Mon Sep 17 00:00:00 2001 From: Snoweuph Date: Sun, 11 Feb 2024 09:50:20 +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 1deb517..79df70a 100644 --- a/images/actions/act/Dockerfile +++ b/images/actions/act/Dockerfile @@ -1,11 +1,14 @@ FROM registry.opensuse.org/opensuse/leap:15.5 -RUN zypper addrepo https://download.opensuse.org/repositories/devel:languages:python/15.5/devel:languages:python.repo zypper refresh -RUN zypper -n install sudo docker python3-docker-compose git wget curl zip unzip nodejs20 - +RUN zypper -n install docker RUN useradd -u 1001 runner +RUN usermod -aG docker runner + +RUN zypper -n install sudo RUN echo "runner ALL=(ALL:ALL) NOPASSWD:ALL" > /etc/sudoers.d/runner -RUN usermod -G docker -a runner + +RUN zypper -n install git wget curl zip unzip nodejs20 WORKDIR /home/runner + USER runner \ No newline at end of file