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"]