Add images/actions/node-npm/Dockerfile
All checks were successful
Build and Push Image / Build and push image (push) Successful in 35s

This commit is contained in:
Jan Gleytenhoover 2024-07-13 21:48:05 +00:00
parent ebf61f1887
commit 9b354d2c47

@ -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