diff --git a/images/actions/act/Dockerfile b/images/actions/act/Dockerfile index 0539a2b..e6ec8bb 100644 --- a/images/actions/act/Dockerfile +++ b/images/actions/act/Dockerfile @@ -1,18 +1,16 @@ -FROM registry.opensuse.org/opensuse/leap:15.5 +FROM alpine:LATEST + +RUN apk add --no-cache \ +dracut sudo \ +git git-lfs wget curl \ +zip unzip xz zstd \ +nodejs python3 py3-pip -# Installing Dependencies -RUN zypper -n update -RUN zypper -n install \ - dracut docker python3-docker-compose sudo \ - openssh git git-lfs wget \ - zip unzip xz zstd \ - nodejs20 python3 python3-pip # Settting up User -RUN useradd -u 1001 runner +RUN addgroup -S docker +RUN adduser -S runner -G docker RUN systemctl enable docker -RUN groupmod -g 998 docker -RUN usermod -aG docker runner RUN newgrp docker RUN echo "runner ALL=(ALL:ALL) NOPASSWD:ALL" > /etc/sudoers.d/runner