Block a user
docker-php-alpine (0.1.0)
Installation
docker pull git.najihu.net/zdenek/docker-php-alpine:0.1.0sha256:47f31f4ed80012709f403bae4442e3d712af648acc69ae1b428a80ae281b364a
Image Layers
| ADD alpine-minirootfs-3.22.1-x86_64.tar.gz / # buildkit |
| CMD ["/bin/sh"] |
| RUN /bin/sh -c set -eux; apk add --no-cache apache2 apache2-proxy php84 php84-fpm php84-opcache php84-session php84-mysqli php84-pdo php84-pdo_mysql php84-ctype php84-tokenizer php84-xml php84-gd php84-curl php84-mbstring tzdata curl; mkdir -p /run/apache2 /run/php /var/www/html; sed -ri 's|^[#[:space:]]*ErrorLog .*|ErrorLog /dev/stderr|g' /etc/apache2/httpd.conf; sed -ri 's|^[#[:space:]]*CustomLog .*|CustomLog /dev/stdout combined|g' /etc/apache2/httpd.conf; sed -ri 's|#ServerName www.example.com:80|ServerName localhost|g' /etc/apache2/httpd.conf; sed -ri 's|^listen = .*|listen = 127.0.0.1:9000|g' /etc/php84/php-fpm.d/www.conf; if [ -f /etc/php84/php.ini-production ]; then cp /etc/php84/php.ini-production /etc/php84/php.ini; fi; if [ -d /var/www/localhost/htdocs ]; then rmdir /var/www/localhost/htdocs || true; ln -s /var/www/html /var/www/localhost/htdocs; fi # buildkit |
| RUN /bin/sh -c sed -ri 's|^(LoadModule\s+lbmethod_heartbeat_module\b.*)|# \1|' /etc/apache2/httpd.conf # buildkit |
| COPY apache-phpfpm.conf /etc/apache2/conf.d/php-fpm.conf # buildkit |
| COPY data/www/ /var/www/html/ # buildkit |
| HEALTHCHECK &{["CMD-SHELL" "wget -qO- http://127.0.0.1/ >/dev/null || exit 1"] "30s" "3s" "0s" "0s" '\x03'} |
| COPY docker-entrypoint.sh /docker-entrypoint.sh # buildkit |
| RUN /bin/sh -c chmod +x /docker-entrypoint.sh # buildkit |
| EXPOSE map[80/tcp:{}] |
| CMD ["/docker-entrypoint.sh"] |