This commit is contained in:
parent
1419b595a2
commit
c267b7d22e
1 changed files with 4 additions and 4 deletions
|
@ -1,14 +1,14 @@
|
|||
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 systemctl enable docker
|
||||
RUN usermod -aG docker runner
|
||||
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
|
||||
|
||||
# Installing Dependencies
|
||||
RUN zypper -n install git wget curl zip unzip nodejs20
|
||||
|
||||
WORKDIR /home/runner
|
||||
|
|
Loading…
Reference in a new issue