diff --git a/images/actions/php-8.2/Dockerfile b/images/actions/php-8.2/Dockerfile index 89d2f43..b13e400 100644 --- a/images/actions/php-8.2/Dockerfile +++ b/images/actions/php-8.2/Dockerfile @@ -1,3 +1,20 @@ FROM php:8.2-alpine 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 \ No newline at end of file