binternet (sha256:c9900f68829a786fe11dbf67245fdc5b433e8e32e8cef5ddc07554fd447d4482)

Published 2024-10-03 00:01:24 +08:00 by opnxng in opnxng/docker-images

Installation

docker pull git.opnxng.com/opnxng/binternet@sha256:c9900f68829a786fe11dbf67245fdc5b433e8e32e8cef5ddc07554fd447d4482
sha256:c9900f68829a786fe11dbf67245fdc5b433e8e32e8cef5ddc07554fd447d4482

Image Layers

ADD file:ee5bb8409915b11413f44cce4c22fed658aba4fb078a448e08dd4ac9a23581f2 in /
CMD ["/bin/sh"]
RUN /bin/sh -c apk add php83 php83-fpm php83-dom php83-curl php83-json php83-openssl nginx --no-cache # buildkit
RUN /bin/sh -c sed -i '/user nginx;/d' /etc/nginx/nginx.conf && sed -i 's/^user = nobody/; user = nobody/' /etc/php83/php-fpm.d/www.conf && sed -i 's/^group = nobody/; group = nobody/' /etc/php83/php-fpm.d/www.conf && sed -i 's/listen = 127.0.0.1:9000/listen = \/run\/php\/php-fpm83.sock/' /etc/php83/php-fpm.d/www.conf && sed -i 's/;listen.owner = nobody/listen.owner = nginx/' /etc/php83/php-fpm.d/www.conf && sed -i 's/;listen.group = nobody/listen.group = nginx/' /etc/php83/php-fpm.d/www.conf && sed -i 's/;listen.mode/listen.mode/' /etc/php83/php-fpm.d/www.conf && sed -i 's/;listen.allowed_clients/listen.allowed_clients/' /etc/php83/php-fpm.d/www.conf # buildkit
RUN /bin/sh -c mkdir -p /var/www/binternet /run/php # buildkit
COPY . /var/www/binternet # buildkit
COPY nginx.conf /etc/nginx/http.d/binternet.conf # buildkit
RUN /bin/sh -c rm /var/www/binternet/nginx.conf /etc/nginx/http.d/default.conf && chown -R nginx:nginx /var/log/php83/ /run # buildkit
USER nginx
EXPOSE map[8080/tcp:{}]
ENTRYPOINT ["/bin/sh" "-c" "/usr/sbin/php-fpm83 -D && /usr/sbin/nginx -c /etc/nginx/nginx.conf -g 'daemon off;'"]
HEALTHCHECK &{["CMD-SHELL" "wget --no-verbose --tries=1 --spider 127.0.0.1:8080 || exit 1"] "0s" "5s" "0s" "0s" '\x00'}
Details
Container
2024-10-03 00:01:24 +08:00
4
OCI / Docker
linux/arm64
14 MiB
Versions (1) View all
latest 2024-10-03