images/actions/act/Dockerfile aktualisiert
This commit is contained in:
parent
5edef97119
commit
cc0dc7fb13
1 changed files with 10 additions and 5 deletions
|
@ -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
|
Loading…
Reference in a new issue