images/actions/act/Dockerfile aktualisiert
Some checks failed
CI / build_act (push) Failing after 38s
CI / build_php (8.1) (push) Has been skipped
CI / build_php (8.2) (push) Has been skipped
CI / build_java (17) (push) Has been skipped
CI / build_java (1_8_0) (push) Has been skipped
CI / build_java (21) (push) Has been skipped

This commit is contained in:
Snoweuph 2024-04-26 21:42:01 +00:00
parent b821a9ea7c
commit 455d6cab40

View file

@ -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