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