awesomeforms-php (sha256:6e00964fbe077e4af8bd91908e9e05e4b21da323fa4036216a844b07c304b196)
Published 2026-03-21 16:20:04 +01:00 by 0x346e3730
Installation
docker pull git.clauzier.dev/0x346e3730/awesomeforms-php@sha256:6e00964fbe077e4af8bd91908e9e05e4b21da323fa4036216a844b07c304b196sha256:6e00964fbe077e4af8bd91908e9e05e4b21da323fa4036216a844b07c304b196About this package
The modern PHP app server
Image layers
| # debian.sh --arch 'amd64' out/ 'trixie' '@1773619200' |
| RUN /bin/sh -c set -eux; { echo 'Package: php*'; echo 'Pin: release *'; echo 'Pin-Priority: -1'; } > /etc/apt/preferences.d/no-debian-php # buildkit |
| ENV PHPIZE_DEPS=autoconf dpkg-dev file g++ gcc libc-dev make pkg-config re2c |
| RUN /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends $PHPIZE_DEPS ca-certificates curl xz-utils ; apt-get dist-clean # buildkit |
| ENV PHP_INI_DIR=/usr/local/etc/php |
| RUN /bin/sh -c set -eux; mkdir -p "$PHP_INI_DIR/conf.d"; [ ! -d /var/www/html ]; mkdir -p /var/www/html; chown www-data:www-data /var/www/html; chmod 1777 /var/www/html # buildkit |
| ENV PHP_CFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 |
| ENV PHP_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 |
| ENV PHP_LDFLAGS=-Wl,-O1 -pie |
| ENV GPG_KEYS=1198C0117593497A5EC5C199286AF1F9897469DC 49D9AF6BC72A80D6691719C8AA23F5BE9C7097D4 D95C03BC702BE9515344AE3374E44BC9067701A5 |
| ENV PHP_VERSION=8.5.4 |
| ENV PHP_URL=https://www.php.net/distributions/php-8.5.4.tar.xz PHP_ASC_URL=https://www.php.net/distributions/php-8.5.4.tar.xz.asc |
| ENV PHP_SHA256=c1569f1f543f6b025c583cdc0e730e5c5833c603618613f1aa8e75d1524b8c91 |
| RUN /bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends gnupg; apt-get dist-clean; mkdir -p /usr/src; cd /usr/src; curl -fsSL -o php.tar.xz "$PHP_URL"; if [ -n "$PHP_SHA256" ]; then echo "$PHP_SHA256 *php.tar.xz" | sha256sum -c -; fi; curl -fsSL -o php.tar.xz.asc "$PHP_ASC_URL"; export GNUPGHOME="$(mktemp -d)"; for key in $GPG_KEYS; do gpg --batch --keyserver keyserver.ubuntu.com --recv-keys "$key"; done; gpg --batch --verify php.tar.xz.asc php.tar.xz; gpgconf --kill all; rm -rf "$GNUPGHOME"; apt-mark auto '.*' > /dev/null; apt-mark manual $savedAptMark > /dev/null; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false # buildkit |
| COPY docker-php-source /usr/local/bin/ # buildkit |
| RUN /bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends libargon2-dev libcurl4-openssl-dev libonig-dev libreadline-dev libsodium-dev libsqlite3-dev libssl-dev libxml2-dev zlib1g-dev ; export CFLAGS="$PHP_CFLAGS" CPPFLAGS="$PHP_CPPFLAGS" LDFLAGS="$PHP_LDFLAGS" PHP_BUILD_PROVIDER='https://github.com/docker-library/php' PHP_UNAME='Linux - Docker' ; docker-php-source extract; cd /usr/src/php; gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; debMultiarch="$(dpkg-architecture --query DEB_BUILD_MULTIARCH)"; if [ ! -d /usr/include/curl ]; then ln -sT "/usr/include/$debMultiarch/curl" /usr/local/include/curl; fi; test "$PHP_INI_DIR" != "${PHP_INI_DIR%/php}"; ./configure --build="$gnuArch" --sysconfdir="${PHP_INI_DIR%/php}" --with-config-file-path="$PHP_INI_DIR" --with-config-file-scan-dir="$PHP_INI_DIR/conf.d" --enable-option-checking=fatal --with-mhash --with-pic --enable-mbstring --enable-mysqlnd --with-password-argon2 --with-sodium=shared --with-pdo-sqlite=/usr --with-sqlite3=/usr --with-curl --with-iconv --with-openssl --with-readline --with-zlib --enable-phpdbg --enable-phpdbg-readline --with-pear --with-libdir="lib/$debMultiarch" --enable-embed --enable-zts --disable-zend-signals ; make -j "$(nproc)"; find -type f -name '*.a' -delete; make install; find /usr/local -type f -perm '/0111' -exec sh -euxc ' strip --strip-all "$@" || : ' -- '{}' + ; make clean; cp -v php.ini-* "$PHP_INI_DIR/"; cd /; docker-php-source delete; apt-mark auto '.*' > /dev/null; [ -z "$savedAptMark" ] || apt-mark manual $savedAptMark; find /usr/local -type f -executable -exec ldd '{}' ';' | awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); printf "*%s\n", so }' | sort -u | xargs -rt dpkg-query --search | awk 'sub(":$", "", $1) { print $1 }' | sort -u | xargs -r apt-mark manual ; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; apt-get dist-clean; pecl update-channels; rm -rf /tmp/pear ~/.pearrc; php --version # buildkit |
| COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/ # buildkit |
| RUN /bin/sh -c docker-php-ext-enable sodium # buildkit |
| ENTRYPOINT ["docker-php-entrypoint"] |
| CMD ["php" "-a"] |
| WORKDIR /app |
| RUN /bin/sh -c apt-get update && apt-get -y --no-install-recommends install mailcap libcap2-bin && apt-get clean && rm -rf /var/lib/apt/lists/* # buildkit |
| RUN /bin/sh -c set -eux; mkdir -p /app/public /config/caddy /data/caddy /etc/caddy /etc/frankenphp; sed -i 's/php/frankenphp run/g' /usr/local/bin/docker-php-entrypoint; echo '<?php phpinfo();' > /app/public/index.php # buildkit |
| COPY caddy/frankenphp/Caddyfile /etc/caddy/Caddyfile # buildkit |
| RUN /bin/sh -c ln /etc/caddy/Caddyfile /etc/frankenphp/Caddyfile && curl -sSLf -o /usr/local/bin/install-php-extensions https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions && chmod +x /usr/local/bin/install-php-extensions # buildkit |
| CMD ["--config" "/etc/frankenphp/Caddyfile" "--adapter" "caddyfile"] |
| HEALTHCHECK &{["CMD-SHELL" "curl -f http://localhost:2019/metrics || exit 1"] "0s" "0s" "0s" "0s" '\x00'} |
| ENV XDG_CONFIG_HOME=/config |
| ENV XDG_DATA_HOME=/data |
| EXPOSE [80/tcp] |
| EXPOSE [443/tcp] |
| EXPOSE [443/udp] |
| EXPOSE [2019/tcp] |
| LABEL org.opencontainers.image.title=FrankenPHP |
| LABEL org.opencontainers.image.description=The modern PHP app server |
| LABEL org.opencontainers.image.url=https://frankenphp.dev |
| LABEL org.opencontainers.image.source=https://github.com/php/frankenphp |
| LABEL org.opencontainers.image.licenses=MIT |
| LABEL org.opencontainers.image.vendor=Kévin Dunglas |
| ENV GODEBUG=cgocheck=0 |
| COPY /usr/local/lib/libwatcher* /usr/local/lib/ # buildkit |
| RUN /bin/sh -c apt-get install -y --no-install-recommends libstdc++6 && apt-get clean && ldconfig # buildkit |
| COPY /usr/local/bin/frankenphp /usr/local/bin/frankenphp # buildkit |
| RUN /bin/sh -c setcap cap_net_bind_service=+ep /usr/local/bin/frankenphp && frankenphp version && frankenphp build-info # buildkit |
| ARG USER_ID=1000 |
| ARG GROUP_ID=1000 |
| ARG TZ=UTC |
| ENV DEBIAN_FRONTEND=noninteractive TERM=xterm-color OCTANE_SERVER=frankenphp TZ=UTC USER=laravel ROOT=/var/www/html APP_ENV=production COMPOSER_FUND=0 COMPOSER_MAX_PARALLEL_HTTP=48 CONTAINER_MODE=http WITH_HORIZON=false WITH_SCHEDULER=false RUNNING_MIGRATIONS_AND_SEEDERS=false OCTANE_WATCH= |
| ENV XDG_CONFIG_HOME=/var/www/html/.config XDG_DATA_HOME=/var/www/html/.data |
| WORKDIR /var/www/html |
| SHELL [/bin/bash -eou pipefail -c] |
| RUN |3 USER_ID=1000 GROUP_ID=1000 TZ=UTC /bin/bash -eou pipefail -c ln -snf /usr/share/zoneinfo/${TZ} /etc/localtime && echo ${TZ} > /etc/timezone # buildkit |
| RUN |3 USER_ID=1000 GROUP_ID=1000 TZ=UTC /bin/bash -eou pipefail -c apt-get update; apt-get upgrade -yqq; apt-get install -yqq --no-install-recommends --show-progress apt-utils curl wget git unzip procps ca-certificates supervisor libsodium-dev && curl -fsSL https://bun.sh/install | BUN_INSTALL=/usr bash && install-php-extensions apcu bcmath exif gd intl opcache pcntl pdo_pgsql pgsql redis sockets zip && apt-get -y autoremove && apt-get clean && docker-php-source delete && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /var/log/lastlog /var/log/faillog # buildkit |
| RUN |3 USER_ID=1000 GROUP_ID=1000 TZ=UTC /bin/bash -eou pipefail -c arch="$(uname -m)" && case "$arch" in armhf) _cronic_fname='supercronic-linux-arm' ;; aarch64) _cronic_fname='supercronic-linux-arm64' ;; x86_64) _cronic_fname='supercronic-linux-amd64' ;; x86) _cronic_fname='supercronic-linux-386' ;; *) echo >&2 "error: unsupported architecture: $arch"; exit 1 ;; esac && wget -q "https://github.com/aptible/supercronic/releases/download/v0.2.38/${_cronic_fname}" -O /usr/bin/supercronic && chmod +x /usr/bin/supercronic && mkdir -p /etc/supercronic && echo "*/1 * * * * php ${ROOT}/artisan schedule:run --no-interaction" > /etc/supercronic/laravel # buildkit |
| RUN |3 USER_ID=1000 GROUP_ID=1000 TZ=UTC /bin/bash -eou pipefail -c userdel --remove --force www-data && groupadd --force -g ${GROUP_ID} ${USER} && useradd -ms /bin/bash --no-log-init --no-user-group -g ${GROUP_ID} -u ${USER_ID} ${USER} # buildkit |
| RUN |3 USER_ID=1000 GROUP_ID=1000 TZ=UTC /bin/bash -eou pipefail -c cp ${PHP_INI_DIR}/php.ini-production ${PHP_INI_DIR}/php.ini && mkdir -p /tmp/opcache-file-cache && chmod 1777 /tmp/opcache-file-cache # buildkit |
| COPY /usr/bin/composer /usr/bin/composer # buildkit |
| COPY deployment/supervisord.conf /etc/ # buildkit |
| COPY deployment/octane/FrankenPHP/supervisord.frankenphp.conf /etc/supervisor/conf.d/ # buildkit |
| COPY deployment/supervisord.*.conf /etc/supervisor/conf.d/ # buildkit |
| COPY deployment/start-container /usr/local/bin/start-container # buildkit |
| COPY deployment/healthcheck /usr/local/bin/healthcheck # buildkit |
| COPY deployment/php.ini /usr/local/etc/php/conf.d/99-php.ini # buildkit |
| ARG COMMIT_SHA=f702bbdb6d8a7400e1b977a9d4472aa37be82b3b |
| ENV COMMIT_SHA=f702bbdb6d8a7400e1b977a9d4472aa37be82b3b |
| COPY /usr/local/bin/frankenphp /usr/local/bin/frankenphp # buildkit |
| COPY composer.* ./ # buildkit |
| RUN |4 USER_ID=1000 GROUP_ID=1000 TZ=UTC COMMIT_SHA=f702bbdb6d8a7400e1b977a9d4472aa37be82b3b /bin/bash -eou pipefail -c composer install --no-dev --no-interaction --no-autoloader --no-ansi --no-scripts --no-progress # buildkit |
| COPY package.json bun.lock* ./ # buildkit |
| RUN |4 USER_ID=1000 GROUP_ID=1000 TZ=UTC COMMIT_SHA=f702bbdb6d8a7400e1b977a9d4472aa37be82b3b /bin/bash -eou pipefail -c bun install --frozen-lockfile # buildkit |
| COPY . . # buildkit |
| RUN |4 USER_ID=1000 GROUP_ID=1000 TZ=UTC COMMIT_SHA=f702bbdb6d8a7400e1b977a9d4472aa37be82b3b /bin/bash -eou pipefail -c mkdir -p storage/framework/{sessions,views,cache,testing} storage/logs bootstrap/cache && chown -R ${USER_ID}:${GROUP_ID} ${ROOT} && chmod +x /usr/local/bin/start-container /usr/local/bin/healthcheck # buildkit |
| RUN |4 USER_ID=1000 GROUP_ID=1000 TZ=UTC COMMIT_SHA=f702bbdb6d8a7400e1b977a9d4472aa37be82b3b /bin/bash -eou pipefail -c composer dump-autoload --optimize --apcu --no-dev # buildkit |
| RUN |4 USER_ID=1000 GROUP_ID=1000 TZ=UTC COMMIT_SHA=f702bbdb6d8a7400e1b977a9d4472aa37be82b3b /bin/bash -eou pipefail -c bun run build # buildkit |
| USER laravel |
| EXPOSE [8000/tcp] |
| EXPOSE [2019/tcp] |
| ENTRYPOINT ["start-container"] |
| HEALTHCHECK &{["CMD-SHELL" "healthcheck || exit 1"] "1s" "3s" "5s" "0s" '\n'} |
Labels
| Key | Value |
|---|---|
| dev.frankenphp.base.fingerprint | 88e36c9014dd3c9530a41988085e098f6063a15dc3331ea1a9575ea56b4a2dd4 |
| org.opencontainers.image.created | 2026-03-19T04:37:33Z |
| org.opencontainers.image.description | The modern PHP app server |
| org.opencontainers.image.licenses | MIT |
| org.opencontainers.image.revision | 33fcc4d5c08a5c14f3b12a3706cb2eed414bc44f |
| org.opencontainers.image.source | https://github.com/php/frankenphp |
| org.opencontainers.image.title | FrankenPHP |
| org.opencontainers.image.url | https://frankenphp.dev |
| org.opencontainers.image.vendor | Kévin Dunglas |
| org.opencontainers.image.version | v1.12.1 |
Details
2026-03-21 16:20:04 +01:00
Versions (25)
View all
Container
0
OCI / Docker
linux/amd64
MIT
442 MiB
f702bbdb6d8a7400e1b977a9d4472aa37be82b3b
2026-03-21
latest
2026-03-21
5e45b5486c78d69efa59211027def5ce586eed3b
2026-03-21
ad6bdd25e9c2f2b72533bd9d953c600500964e8f
2026-03-21
a936d328f0e12481d8cbb7fd57d4ee332825671b
2026-03-21