runner-images/images/actions/act/Dockerfile
Snoweuph 56b430946c
Some checks failed
CI / build_act (push) Failing after 56s
CI / build_php (8.1) (push) Has been skipped
CI / build_php (8.2) (push) Has been skipped
CI / build_php (8.3) (push) Has been skipped
CI / build_java (17) (push) Has been skipped
CI / build_java (21) (push) Has been skipped
CI / build_java (8) (push) Has been skipped
images/actions/act/Dockerfile aktualisiert
2024-04-26 23:22:32 +00:00

22 lines
No EOL
523 B
Docker

FROM alpine:latest
RUN apk add --update --no-cache \
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 \
&& echo "runner ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/runner \
&& chmod 0440 /etc/sudoers.d/runner
RUN addgroup runner docker
RUN rc-update add docker default
RUN rc-update add cgroups
RUN service docker start
WORKDIR /home/runner
CMD ["/bin/bash"]
USER runner