Add images/actions/node-npm/Dockerfile
All checks were successful
Build and Push Image / Build and push image (push) Successful in 35s
All checks were successful
Build and Push Image / Build and push image (push) Successful in 35s
This commit is contained in:
parent
ebf61f1887
commit
9b354d2c47
21
images/actions/node-npm/Dockerfile
Normal file
21
images/actions/node-npm/Dockerfile
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user