Some checks failed
Build and Push Image / Build and push image (push) Failing after 20s
24 lines
No EOL
622 B
Docker
24 lines
No EOL
622 B
Docker
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 php8-pecl-xdebug
|
|
|
|
|
|
RUN apk add --no-cache curl patch openssh-client openldap-dev
|
|
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
|
|
|
|
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 |