Update images/actions/php-8.2/Dockerfile
All checks were successful
Build and Push Image / Build and push image (push) Successful in 2m13s

This commit is contained in:
Jan Gleytenhoover 2024-07-11 20:14:38 +00:00
parent 4dc21bd7d9
commit 13ac6917cd

@ -1,3 +1,20 @@
FROM php:8.2-alpine FROM php:8.2-alpine
RUN apk add nodejs git curl composer bash sudo RUN apk add nodejs git curl composer 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