Block a user
phpfull (1.0.1)
Published 2025-04-03 07:17:31 +00:00 by crasite
Installation
docker pull gitea.cognizata.com/crasite/phpfull:1.0.1sha256:53af4f1d1f3b210021882baad5ad0f8094b8f8448068b53085ccd91d31ce99f8
Image Layers
| ADD alpine-minirootfs-3.21.0-x86_64.tar.gz / # buildkit |
| CMD ["/bin/sh"] |
| LABEL Maintainer=Tim de Pater <code@trafex.nl> |
| LABEL Description=Lightweight container with Nginx 1.26 & PHP 8.4 based on Alpine Linux. |
| WORKDIR /var/www/html |
| RUN /bin/sh -c apk add --no-cache curl nginx php84 php84-ctype php84-curl php84-dom php84-fileinfo php84-fpm php84-gd php84-intl php84-mbstring php84-mysqli php84-opcache php84-openssl php84-phar php84-session php84-tokenizer php84-xml php84-xmlreader php84-xmlwriter supervisor # buildkit |
| COPY config/nginx.conf /etc/nginx/nginx.conf # buildkit |
| COPY config/conf.d /etc/nginx/conf.d/ # buildkit |
| ENV PHP_INI_DIR=/etc/php84 |
| COPY config/fpm-pool.conf /etc/php84/php-fpm.d/www.conf # buildkit |
| COPY config/php.ini /etc/php84/conf.d/custom.ini # buildkit |
| COPY config/supervisord.conf /etc/supervisor/conf.d/supervisord.conf # buildkit |
| RUN /bin/sh -c chown -R nobody:nobody /var/www/html /run /var/lib/nginx /var/log/nginx # buildkit |
| USER nobody |
| COPY --chown=nobody src/ /var/www/html/ # buildkit |
| EXPOSE map[8080/tcp:{}] |
| CMD ["/usr/bin/supervisord" "-c" "/etc/supervisor/conf.d/supervisord.conf"] |
| HEALTHCHECK &{["CMD-SHELL" "curl --silent --fail http://127.0.0.1:8080/fpm-ping || exit 1"] "0s" "10s" "0s" "0s" '\x00'} |
| USER root |
| RUN /bin/sh -c apk --no-cache add php84-iconv php84-simplexml php84-zip php84-soap php84-sodium php84-tokenizer # buildkit |
| USER nobody |
Labels
| Key | Value |
|---|---|
| Description | Lightweight container with Nginx 1.26 & PHP 8.4 based on Alpine Linux. |
| Maintainer | Tim de Pater <code@trafex.nl> |