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

This commit is contained in:
Snoweuph 2024-02-11 09:50:20 +01:00
parent 964eb938f5
commit f126a36c1b
Signed by: Snoweuph
GPG key ID: A494330694B208EF

View file

@ -1,11 +1,14 @@
FROM registry.opensuse.org/opensuse/leap:15.5
RUN zypper addrepo https://download.opensuse.org/repositories/devel:languages:python/15.5/devel:languages:python.repo zypper refresh
RUN zypper -n install sudo docker python3-docker-compose git wget curl zip unzip nodejs20
RUN zypper -n install docker
RUN useradd -u 1001 runner
RUN usermod -aG docker runner
RUN zypper -n install sudo
RUN echo "runner ALL=(ALL:ALL) NOPASSWD:ALL" > /etc/sudoers.d/runner
RUN usermod -G docker -a runner
RUN zypper -n install git wget curl zip unzip nodejs20
WORKDIR /home/runner
USER runner