From 9b354d2c47330f6de3c842998bcd29af0dbe4f15 Mon Sep 17 00:00:00 2001 From: Jan Gleytenhoover Date: Sat, 13 Jul 2024 21:48:05 +0000 Subject: [PATCH] Add images/actions/node-npm/Dockerfile --- images/actions/node-npm/Dockerfile | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 images/actions/node-npm/Dockerfile diff --git a/images/actions/node-npm/Dockerfile b/images/actions/node-npm/Dockerfile new file mode 100644 index 0000000..5d7f959 --- /dev/null +++ b/images/actions/node-npm/Dockerfile @@ -0,0 +1,21 @@ +FROM php:8.2-alpine + +RUN apk add nodejs git curl npm bash sudo + +RUN apk add --update --no-cache \ +bash sudo ca-certificates openssl openssh-client \ +git git-lfs wget curl \ +zip unzip xz zstd jq \ +nodejs python3 py3-pip + + +RUN adduser -D runner \ + && echo "runner ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/runner \ + && chmod 0440 /etc/sudoers.d/runner + +RUN chmod -R 777 /opt + +WORKDIR /home/runner + +CMD ["/bin/bash"] +USER runner \ No newline at end of file