From 7379f3653548c1e6ac3962a8afdcfd03b48c407c Mon Sep 17 00:00:00 2001 From: Snoweuph Date: Fri, 26 Apr 2024 22:11:59 +0000 Subject: [PATCH] images/actions/act/Dockerfile aktualisiert --- images/actions/act/Dockerfile | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/images/actions/act/Dockerfile b/images/actions/act/Dockerfile index d1f9606..619346e 100644 --- a/images/actions/act/Dockerfile +++ b/images/actions/act/Dockerfile @@ -1,19 +1,15 @@ FROM alpine:latest RUN apk add --no-cache \ -dracut sudo \ +dracut sudo docker openrc \ git git-lfs wget curl \ zip unzip xz zstd \ nodejs python3 py3-pip - -# Settting up User -RUN addgroup -S docker -RUN adduser -S runner -G docker +RUN adduser -S runner RUN echo "runner ALL=(ALL:ALL) NOPASSWD:ALL" > /etc/sudoers.d/runner +RUN rc-update add docker boot -RUN mkdir /home/runner -RUN chown -R runner /home/runner WORKDIR /home/runner CMD ["/bin/bash"]