docker/frankenphp (sha256:c21dec4fce4762daac9401d59a0b563a4064177edbbb3e6eef2cf197d3a4fbbe)

Published 2026-05-28 15:46:53 +00:00 by geusebio

Installation

docker pull git.grey.ooo/grey.ooo/docker/frankenphp@sha256:c21dec4fce4762daac9401d59a0b563a4064177edbbb3e6eef2cf197d3a4fbbe
sha256:c21dec4fce4762daac9401d59a0b563a4064177edbbb3e6eef2cf197d3a4fbbe

About this package

PHP 8.4 base image

Image layers

ADD alpine-minirootfs-3.23.4-aarch64.tar.gz / # buildkit
CMD ["/bin/sh"]
ENV ALPINE_VERSION=3.23
ARG BASE_PACKAGES= bash bash-completion pv bc btop less util-linux-misc util-linux-bash-completion bind-tools iputils-ping net-tools traceroute git openssh-client ca-certificates wget curl tar gzip xz bzip2 cronie flock nano vim emacs figlet ncurses runuser runit dos2unix patch
LABEL org.opencontainers.image.vendor=Grey.ooo org.opencontainers.image.authors=Matthew B <matt@grey.ooo> org.opencontainers.image.url=https://git.grey.ooo/Grey.ooo/docker org.opencontainers.image.source=https://git.grey.ooo/Grey.ooo/docker org.opencontainers.image.documentation=https://git.grey.ooo/Grey.ooo/docker/blob/main/README.md ooo.grey.version.alpine=3.23
ENV TERM=xterm-256color PATH=/app:/app/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin LOG_PATHS= SVDIR=/etc/services.d SVWAIT=5 PAGER=/usr/bin/less EDITOR=/usr/bin/nano SYSTEM_USER=app
WORKDIR /app
RUN |1 BASE_PACKAGES= bash bash-completion pv bc btop less util-linux-misc util-linux-bash-completion bind-tools iputils-ping net-tools traceroute git openssh-client ca-certificates wget curl tar gzip xz bzip2 cronie flock nano vim emacs figlet ncurses runuser runit dos2unix patch /bin/sh -c set -ue apk add --no-cache $BASE_PACKAGES # add our app user adduser -D -u 1000 $SYSTEM_USER -h /home -s /bin/bash chown -R $SYSTEM_USER:$SYSTEM_USER /app # We're about to add the root filesystem and I want to clean house of these runit-related directories before I do so. rm -Rf /etc/service /etc/services /etc/services.d \ /etc/periodic /etc/cron.d \ /etc/conf.d # buildkit
SHELL [/bin/bash -ce]
COPY ./fs/alpine/. / # buildkit
RUN |1 BASE_PACKAGES= bash bash-completion pv bc btop less util-linux-misc util-linux-bash-completion bind-tools iputils-ping net-tools traceroute git openssh-client ca-certificates wget curl tar gzip xz bzip2 cronie flock nano vim emacs figlet ncurses runuser runit dos2unix patch /bin/bash -ce # Install lolcat from the edge/testing repo. # This is a workaround for the fact that lolcat is not available in the stable repo. # It lets us have nice colourful banners. apk add --no-cache lolcat --repository=https://dl-cdn.alpinelinux.org/alpine/edge/testing # buildkit
STOPSIGNAL SIGHUP
CMD ["/usr/local/bin/entrypoint"]
RUN |1 BASE_PACKAGES= bash bash-completion pv bc btop less util-linux-misc util-linux-bash-completion bind-tools iputils-ping net-tools traceroute git openssh-client ca-certificates wget curl tar gzip xz bzip2 cronie flock nano vim emacs figlet ncurses runuser runit dos2unix patch /bin/bash -ce rm /root/.bashrc /root/.profile /home/.bashrc /home/.profile /etc/profile.d/00-bashrc.sh >/dev/null 2>&1 || true ln -s /etc/profile /root/.bashrc ln -s /etc/profile /root/.profile ln -s /etc/profile /home/.bashrc ln -s /etc/profile /home/.profile sed -i 's|/bin/ash|/bin/bash|' /etc/passwd sv-fix-perms /usr/local/bin/validate # buildkit
ARG FRANKENPHP_VERSION=1.28
ARG PHP_VERSION=8.4
ARG COMPOSER_VERSION=latest-stable
RUN |4 BASE_PACKAGES= bash bash-completion pv bc btop less util-linux-misc util-linux-bash-completion bind-tools iputils-ping net-tools traceroute git openssh-client ca-certificates wget curl tar gzip xz bzip2 cronie flock nano vim emacs figlet ncurses runuser runit dos2unix patch FRANKENPHP_VERSION=1.28 PHP_VERSION=8.4 COMPOSER_VERSION=latest-stable /bin/bash -ce echo "https://pkg.henderkes.com/api/packages/${PHP_VERSION//./}/alpine/main/php-zts" | tee -a /etc/apk/repositories KEYFILE=$(curl -sJOw '%{filename_effective}' https://pkg.henderkes.com/api/packages/${PHP_VERSION//./}/alpine/key) mv ${KEYFILE} /etc/apk/keys/ apk add nss-tools apk add frankenphp # buildkit
COPY fs/php-frankenphp / # buildkit
RUN |4 BASE_PACKAGES= bash bash-completion pv bc btop less util-linux-misc util-linux-bash-completion bind-tools iputils-ping net-tools traceroute git openssh-client ca-certificates wget curl tar gzip xz bzip2 cronie flock nano vim emacs figlet ncurses runuser runit dos2unix patch FRANKENPHP_VERSION=1.28 PHP_VERSION=8.4 COMPOSER_VERSION=latest-stable /bin/bash -ce frankenphp help # buildkit

Labels

Key Value
ooo.grey.version.alpine 3.23
org.opencontainers.image.authors Matthew B <matt@grey.ooo>
org.opencontainers.image.description PHP 8.4 base image
org.opencontainers.image.documentation https://git.grey.ooo/Grey.ooo/docker/blob/main/README.md
org.opencontainers.image.source https://git.grey.ooo/Grey.ooo/docker
org.opencontainers.image.url https://git.grey.ooo/Grey.ooo/docker
org.opencontainers.image.vendor Grey.ooo
Details
Container
2026-05-28 15:46:53 +00:00
0
OCI / Docker
linux/arm64
Matthew B <matt@grey.ooo>
87 MiB
Versions (9) View all
8.4 2026-05-28
8.5 2026-05-28