php-fpm (latest-rootless)
Installation
docker pull git.winteraccess.id/docker/php-fpm:latest-rootless
sha256:8c0ef8fc01f7b7b741c010107f28a0ad2ad5f253b106b67e8f147af7a2b83c33
Image Layers
ARG RELEASE |
ARG LAUNCHPAD_BUILD_ARCH |
LABEL org.opencontainers.image.ref.name=ubuntu |
LABEL org.opencontainers.image.version=22.04 |
ADD file:2f8a54a5efd080fb81efea702b4e3e07d946eec7563fb2281bd28950c10ec462 in / |
CMD ["/bin/bash"] |
LABEL maintainer=<Aditya Prima> aprimediet@gmail.com |
ARG UBUNTU_VERSION=noble |
ENV DEBIAN_FRONTEND=noninteractive |
ENV TZ=Asia/Jakarta |
RUN |1 UBUNTU_VERSION=jammy /bin/sh -c ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone # buildkit |
USER root |
RUN |1 UBUNTU_VERSION=jammy /bin/sh -c apt -y update && apt -y upgrade && apt -y install curl # buildkit |
RUN |1 UBUNTU_VERSION=jammy /bin/sh -c apt -y clean # buildkit |
LABEL maintainer=<Muhamad Aditya Prima> aprimediet@gmail.com |
ARG PHP_VERSION=8.3 |
ENV PHP_VERSION=8.3 |
WORKDIR /root |
RUN |1 PHP_VERSION=8.3 /bin/sh -c apt -y update && apt -y upgrade && apt -y install software-properties-common # buildkit |
RUN |1 PHP_VERSION=8.3 /bin/sh -c add-apt-repository ppa:ondrej/php && apt -y update # buildkit |
RUN |1 PHP_VERSION=8.3 /bin/sh -c apt -y install php${PHP_VERSION}-cli php${PHP_VERSION}-common # buildkit |
RUN |1 PHP_VERSION=8.3 /bin/sh -c ln -ns /usr/bin/php${PHP_VERSION} /usr/bin/php; exit 0 # buildkit |
RUN |1 PHP_VERSION=8.3 /bin/sh -c apt -y clean # buildkit |
RUN |1 PHP_VERSION=8.3 /bin/sh -c mkdir -p /var/run/php && mkdir -p /var/lib/php/session # buildkit |
LABEL maintainer=<Muhamad Aditya Prima> aprimediet@gmail.com |
ENV PHP_FPM_BIN=php-fpm8.3 |
RUN /bin/sh -c groupadd -g 10001 phpfpm && useradd -M -u 10001 -g 10001 -s /bin/sh -d /app phpfpm # buildkit |
WORKDIR / |
RUN /bin/sh -c mkdir -p /app && chown phpfpm:phpfpm /app # buildkit |
RUN /bin/sh -c apt -y update && apt -y upgrade && apt -y install php${PHP_VERSION}-fpm # buildkit |
RUN /bin/sh -c rm -rf /etc/php/${PHP_VERSION}/fpm # buildkit |
ADD ./etc/php/fpm /etc/php/fpm # buildkit |
ADD ./scripts/php-fpm-init /usr/local/bin/php-fpm-init # buildkit |
RUN /bin/sh -c chmod 755 /usr/local/bin/php-fpm-init # buildkit |
ADD https://raw.githubusercontent.com/renatomefi/php-fpm-healthcheck/master/php-fpm-healthcheck /usr/local/bin # buildkit |
RUN /bin/sh -c chmod 755 /usr/local/bin/php-fpm-healthcheck # buildkit |
RUN /bin/sh -c apt -y clean # buildkit |
WORKDIR /app |
USER phpfpm |
EXPOSE map[9000/tcp:{}] |
CMD ["sh" "-c" "/usr/local/bin/php-fpm-init"] |
Labels
Key | Value |
---|---|
maintainer | <Muhamad Aditya Prima> aprimediet@gmail.com |
org.opencontainers.image.ref.name | ubuntu |
org.opencontainers.image.version | 22.04 |
Details
Versions (58)
View all
latest-rootless
2024-09-12
ubuntu-rootless
2024-09-12
latest-ubuntu-rootless
2024-09-12
8.3-rootless
2024-09-12
8.3-ubuntu-rootless
2024-09-12