parent
d3bab799c8
commit
964eb938f5
1 changed files with 3 additions and 2 deletions
|
@ -1,10 +1,11 @@
|
|||
FROM registry.opensuse.org/opensuse/leap:15.5
|
||||
|
||||
RUN zypper -n install sudo docker git wget curl zip unzip nodejs20
|
||||
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 useradd -u 1001 runner
|
||||
RUN echo "runner ALL=(ALL:ALL) NOPASSWD:ALL" > /etc/sudoers.d/runner
|
||||
RUN usermod -aG docker runner
|
||||
RUN usermod -G docker -a runner
|
||||
|
||||
WORKDIR /home/runner
|
||||
USER runner
|
Loading…
Reference in a new issue