runner-images/images/actions/act/Dockerfile
Snoweuph 8397c110d4
Some checks failed
CI / build_act (push) Failing after 2m49s
CI / build_php (8.1) (push) Has been skipped
CI / build_php (8.2) (push) Has been skipped
images/actions/act/Dockerfile aktualisiert
2024-03-24 12:42:30 +00:00

22 lines
No EOL
550 B
Docker

FROM registry.opensuse.org/opensuse/leap:15.5
# 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 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
RUN sudo chmod 666 /var/run/docker.sock
WORKDIR /home/runner
USER runner