diff --git a/images/actions/act/Dockerfile b/images/actions/act/Dockerfile index c9f95ef..dac40ce 100644 --- a/images/actions/act/Dockerfile +++ b/images/actions/act/Dockerfile @@ -1,15 +1,20 @@ FROM alpine:latest RUN apk add --update --no-cache \ -ca-certificates openssl openssh-client docker sudo openrc \ +docker docker-rootless-extras docker-cli-compose sudo openrc \ +ca-certificates openssl openssh-client \ git git-lfs wget curl \ zip unzip xz zstd \ nodejs python3 py3-pip -RUN adduser -D runner -G docker \ +RUN adduser -D runner \ && echo "runner ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/runner \ && chmod 0440 /etc/sudoers.d/runner -RUN rc-update add docker boot +RUN addgroup runner docker +RUN rc-update add docker default +RUN rc-update add cgroups + +RUN service docker start WORKDIR /home/runner