NOTICKET: Setup
All checks were successful
CI / build (push) Successful in 2m52s

This commit is contained in:
Snoweuph 2024-02-11 10:08:57 +01:00
parent 1419b595a2
commit c267b7d22e
Signed by: Snoweuph
GPG key ID: A494330694B208EF

View file

@ -1,14 +1,14 @@
FROM registry.opensuse.org/opensuse/leap:15.5 FROM registry.opensuse.org/opensuse/leap:15.5
RUN zypper -n install docker # Settting up User
RUN zypper -n install docker sudo
RUN useradd -u 1001 runner RUN useradd -u 1001 runner
RUN systemctl enable docker
RUN usermod -aG docker runner RUN usermod -aG docker runner
RUN newgrp docker RUN newgrp docker
RUN systemctl enable docker.service
RUN zypper -n install sudo
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 zypper -n install git wget curl zip unzip nodejs20 RUN zypper -n install git wget curl zip unzip nodejs20
WORKDIR /home/runner WORKDIR /home/runner