images/actions/act/Dockerfile aktualisiert
Some checks failed
CI / build_act (push) Failing after 2m34s
CI / build_php (8.1) (push) Has been skipped
CI / build_php (8.2) (push) Has been skipped

This commit is contained in:
Snoweuph 2024-03-05 08:27:03 +00:00
parent 5edef97119
commit cc0dc7fb13

View file

@ -1,7 +1,16 @@
FROM registry.opensuse.org/opensuse/leap:15.5 FROM registry.opensuse.org/opensuse/leap:15.5
# Installing Dependencies
RUN zypper -n update
RUN zypper -n install \
docker sudo \
ca-certificates \
openssh git git-lfs wget curl \
gawk \
zip unzip xz-utils zstd \
nodejs20 python3-pip python3-venv
# Settting up User # Settting up User
RUN zypper -n install docker sudo
RUN useradd -u 1001 runner RUN useradd -u 1001 runner
RUN systemctl enable docker RUN systemctl enable docker
RUN groupmod -g 998 docker RUN groupmod -g 998 docker
@ -9,10 +18,6 @@ RUN usermod -aG docker runner
RUN newgrp docker RUN newgrp docker
RUN echo "runner ALL=(ALL:ALL) NOPASSWD:ALL" > /etc/sudoers.d/runner RUN echo "runner ALL=(ALL:ALL) NOPASSWD:ALL" > /etc/sudoers.d/runner
# Installing Dependencies
RUN sudo zypper -n update
RUN zypper -n install git wget curl zip unzip nodejs20
WORKDIR /home/runner WORKDIR /home/runner
USER runner USER runner