Namespace
dunglas
Image / Tag
frankenphp:85b36acce165223a6d44fde126f20cc5e38f7018-builder-php8.2-alpine
Content Digest
sha256:cbc51f26589f59f1aeb6b53eb49781488645b2e54f8386486f3cbf711e58f8c9
Details
Created

2024-01-29 16:19:21 UTC

Size

793 MB

Content Digest
Labels
  • org.opencontainers.image.created
    2024-01-29T16:17:50Z
  • org.opencontainers.image.description
    The modern PHP app server
  • org.opencontainers.image.licenses
    MIT
  • org.opencontainers.image.revision
    85b36acce165223a6d44fde126f20cc5e38f7018
  • org.opencontainers.image.source
    https://github.com/dunglas/frankenphp
  • org.opencontainers.image.title
    FrankenPHP
  • org.opencontainers.image.url
    https://frankenphp.dev
  • org.opencontainers.image.vendor
    Kévin Dunglas
  • org.opencontainers.image.version
    85b36acce165223a6d44fde126f20cc5e38f7018

Environment
CGO_CFLAGS

-DFRANKENPHP_VERSION=85b36acce165223a6d44fde126f20cc5e38f7018 -fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

CGO_CPPFLAGS

-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

CGO_LDFLAGS

-lssl -lcrypto -lreadline -largon2 -lcurl -lonig -lz -Wl,-O1 -pie

GPG_KEYS

39B641343D8C104B2B146DC3F9C39DC0B9698544 E60913E4DF209907D8E30D96659A97C9CF2A795A 1198C0117593497A5EC5C199286AF1F9897469DC

PATH

/usr/local/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

PHPIZE_DEPS

autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c

PHP_ASC_URL

https://www.php.net/distributions/php-8.2.15.tar.xz.asc

PHP_CFLAGS

-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

PHP_CPPFLAGS

-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

PHP_INI_DIR

/usr/local/etc/php

PHP_LDFLAGS

-Wl,-O1 -pie

PHP_SHA256

eca5deac02d77d806838275f8a3024b38b35ac0a5d9853dcc71c6cbe3f1f8765

PHP_URL

https://www.php.net/distributions/php-8.2.15.tar.xz

PHP_VERSION

8.2.15

XDG_CONFIG_HOME

/config

XDG_DATA_HOME

/data


Layers

[#000] sha256:4a0759b5afbffdc507fbb4e32b3a139063c3a5c0829f811973850447f98830ae - 0.39% (3.09 MB)

[#001] sha256:bf91a7316d2e2098b1a91882947964b19bab201421576e249c440063e956bcab - 0.34% (2.69 MB)

[#002] sha256:41a5caaf92a60154c94967702a2fdee5954dec8352f776f8abc87659c4de67f6 - 0.0% (1.23 KB)

[#003] sha256:40d170158e1d1cffac62a145eb90dbbfd417840d1e2a9a4ae707cafa0bcc2781 - 0.0% (268 Bytes)

[#004] sha256:b705d96a822720c651828184408f1a6c9eea23d8197c63f104bccb6e1d73ba73 - 1.46% (11.5 MB)

[#005] sha256:87bce88821860841ad9fb8f2aa35e55484bf761143949eab88642252b79cad41 - 0.0% (496 Bytes)

[#006] sha256:32feb0c1c7003be778b36905d93a28d33d46928fe12b4e5ff4ff4a106d111c69 - 2.6% (20.6 MB)

[#007] sha256:83d1107945714d4888caa484f3ea96459b7ec7e3717dc36e396ecf88a5665a1d - 0.0% (2.39 KB)

[#008] sha256:994d3dcecc1880fa1f9e9a8307eff563ca5647d70500c6c57d926a1861e81675 - 0.0% (18.8 KB)

[#009] sha256:3b9c2b934d84b97410cde04f92bb3c1d7355c13d295423e95e8d82c790cafa5c - 0.0% (93 Bytes)

[#010] sha256:f5c3056b67186483520daa2fad8765b7c72497fe1f79f4e4abdcc6c61105e745 - 0.01% (83.7 KB)

[#011] sha256:f286ac466227acaa5dc455cc6e1b65ec8c43a890495c7900142707c3c874092d - 0.0% (451 Bytes)

[#012] sha256:b9bdbc12cfdff5b7709724d0b8b57f55c4d001c8f296a16aefd7516b16525127 - 0.0% (833 Bytes)

[#013] sha256:46bc946e060b3a445ddc43fb140974ebdecb74a1c99d3c63d37181eb68e59dc1 - 0.0% (30 KB)

[#014] sha256:83c67a6ddce177f39ff486c80fa809753e8114c6cc0b1968bae6154722251e0a - 7.88% (62.5 MB)

[#015] sha256:bf0020de517813917f4467f221c7f7608cdcb0a45183774155456ec6ea416219 - 11.69% (92.7 MB)

[#016] sha256:2f19dec2ea8fe82393d3e454588ffa67f6ca90426f51cd63d58c969382cdfa91 - 0.0% (128 Bytes)

[#017] sha256:f5b8c3228a98e28d04edafbf2b3df91faa65b556a285f161cf7bc2ae5ed51d25 - 0.0% (1.52 KB)

[#018] sha256:3f717f6716682b3360ebf09c4aa21fdf4fa3ada76da0c4199abed19cb67dca2a - 2.71% (21.4 MB)

[#019] sha256:836fc305dd2ea565b282ed380ca0ec9504087d0f8a99d89f97fb3f9022b439aa - 0.0% (153 Bytes)

[#020] sha256:1abdc5d9ecca97f542ffeca44ffc3040aa9fd583621edb9af2464eb067057aeb - 0.0% (30.8 KB)

[#021] sha256:b6c3e961b556a4af115105aa35b06d53bc97d4e52f02cb1383cbdaa073d4f0d9 - 59.1% (469 MB)

[#022] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)

[#023] sha256:3e2a90e75cbd38b5a8e5910636e762b986e95f1c0a050e9b6f5e47f66ab5a6c2 - 0.0% (31.3 KB)

[#024] sha256:e631f2760c6924d7cc0c0882e0444019c1793c73d5ad6bd9277261080c8adf0e - 0.01% (41 KB)

[#025] sha256:cede294f261582f1cec1cd859189dfa97a26510622ff5d10143214a33a558e3f - 0.0% (5.16 KB)

[#026] sha256:f7afc7b5be683a815ee989ba000a660a204413d06dc31914a5dfef44ee3fe90f - 0.0% (721 Bytes)

[#027] sha256:394f7ac2d1e44a43571fd52fa0e877b4ab584e2819c376b6ff060ec9e4a21932 - 0.0% (2.75 KB)

[#028] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)

[#029] sha256:48413fcfdba3083988555033d2879655f348b0c539e1fc57739cb716bf388530 - 13.8% (109 MB)

[#030] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)


History
2024-01-27 00:38:19 UTC

/bin/sh -c #(nop) ADD file:50130ffc87b68d2889c28269d2783e37c42087ce4793108222ad53ed22443a90 in /

2024-01-27 00:38:19 UTC

/bin/sh -c #(nop) CMD ["/bin/sh"]

2024-01-27 04:42:10 UTC

/bin/sh -c #(nop) ENV PHPIZE_DEPS=autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c

2024-01-27 04:42:11 UTC

/bin/sh -c apk add --no-cache ca-certificates curl openssl tar xz

2024-01-27 04:42:12 UTC

/bin/sh -c set -eux; adduser -u 82 -D -S -G www-data www-data

2024-01-27 04:42:12 UTC

/bin/sh -c #(nop) ENV PHP_INI_DIR=/usr/local/etc/php

2024-01-27 04:42:13 UTC

/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

2024-01-27 04:42:13 UTC

/bin/sh -c #(nop) ENV PHP_CFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

2024-01-27 04:42:13 UTC

/bin/sh -c #(nop) ENV PHP_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

2024-01-27 04:42:13 UTC

/bin/sh -c #(nop) ENV PHP_LDFLAGS=-Wl,-O1 -pie

2024-01-27 05:24:12 UTC

/bin/sh -c #(nop) ENV GPG_KEYS=39B641343D8C104B2B146DC3F9C39DC0B9698544 E60913E4DF209907D8E30D96659A97C9CF2A795A 1198C0117593497A5EC5C199286AF1F9897469DC

2024-01-27 05:24:12 UTC

/bin/sh -c #(nop) ENV PHP_VERSION=8.2.15

2024-01-27 05:24:12 UTC

/bin/sh -c #(nop) ENV PHP_URL=https://www.php.net/distributions/php-8.2.15.tar.xz PHP_ASC_URL=https://www.php.net/distributions/php-8.2.15.tar.xz.asc

2024-01-27 05:24:13 UTC

/bin/sh -c #(nop) ENV PHP_SHA256=eca5deac02d77d806838275f8a3024b38b35ac0a5d9853dcc71c6cbe3f1f8765

2024-01-27 05:24:20 UTC

/bin/sh -c set -eux; apk add --no-cache --virtual .fetch-deps gnupg; 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; if [ -n "$PHP_ASC_URL" ]; then 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"; fi; apk del --no-network .fetch-deps

2024-01-27 05:24:20 UTC

/bin/sh -c #(nop) COPY file:ce57c04b70896f77cc11eb2766417d8a1240fcffe5bba92179ec78c458844110 in /usr/local/bin/

2024-01-27 05:44:32 UTC

/bin/sh -c set -eux; apk add --no-cache --virtual .build-deps $PHPIZE_DEPS argon2-dev coreutils curl-dev gnu-libiconv-dev libsodium-dev libxml2-dev linux-headers oniguruma-dev openssl-dev readline-dev sqlite-dev ; rm -vf /usr/include/iconv.h; 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)"; ./configure --build="$gnuArch" --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=/usr --with-openssl --with-readline --with-zlib --enable-phpdbg --enable-phpdbg-readline --with-pear $(test "$gnuArch" = 's390x-linux-musl' && echo '--without-pcre-jit') --enable-embed --enable-zts --disable-zend-signals --enable-zend-max-execution-timers ; 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; runDeps="$( scanelf --needed --nobanner --format '%n#p' --recursive /usr/local | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' )"; apk add --no-cache $runDeps; apk del --no-network .build-deps; pecl update-channels; rm -rf /tmp/pear ~/.pearrc; php --version

2024-01-27 05:44:33 UTC

/bin/sh -c #(nop) COPY multi:6edd033b037aa2d7697fc3b9f82c2f162146c1920a0c6d25a165dc56783204db in /usr/local/bin/

2024-01-27 05:44:34 UTC

/bin/sh -c docker-php-ext-enable sodium

2024-01-27 05:44:34 UTC

/bin/sh -c #(nop) ENTRYPOINT ["docker-php-entrypoint"]

2024-01-27 05:44:35 UTC

/bin/sh -c #(nop) CMD ["php" "-a"]

2024-01-29 16:17:55 UTC (buildkit.dockerfile.v0)

WORKDIR /app

2024-01-29 16:17:56 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c apk add --no-cache ca-certificates libcap mailcap # buildkit

2024-01-29 16:17:56 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; mkdir -p /app/public /config/caddy /data/caddy /etc/caddy; sed -i 's/php/frankenphp run/g' /usr/local/bin/docker-php-entrypoint; echo '<?php phpinfo();' > /app/public/index.php # buildkit

2024-01-29 16:17:53 UTC (buildkit.dockerfile.v0)

COPY caddy/frankenphp/Caddyfile /etc/caddy/Caddyfile # buildkit

2024-01-29 16:17:56 UTC (buildkit.dockerfile.v0)

COPY /usr/bin/install-php-extensions /usr/local/bin/ # buildkit

2024-01-29 16:18:00 UTC (buildkit.dockerfile.v0)

CMD ["--config" "/etc/caddy/Caddyfile" "--adapter" "caddyfile"]

2024-01-29 16:18:00 UTC (buildkit.dockerfile.v0)

HEALTHCHECK &{["CMD-SHELL" "curl -f http://localhost:2019/metrics || exit 1"] "0s" "0s" "0s" "0s" '\x00'}

2024-01-29 16:18:00 UTC (buildkit.dockerfile.v0)

ENV XDG_CONFIG_HOME=/config

2024-01-29 16:18:00 UTC (buildkit.dockerfile.v0)

ENV XDG_DATA_HOME=/data

2024-01-29 16:18:00 UTC (buildkit.dockerfile.v0)

EXPOSE map[80/tcp:{}]

2024-01-29 16:18:00 UTC (buildkit.dockerfile.v0)

EXPOSE map[443/tcp:{}]

2024-01-29 16:18:00 UTC (buildkit.dockerfile.v0)

EXPOSE map[443/udp:{}]

2024-01-29 16:18:00 UTC (buildkit.dockerfile.v0)

EXPOSE map[2019/tcp:{}]

2024-01-29 16:18:00 UTC (buildkit.dockerfile.v0)

LABEL org.opencontainers.image.title=FrankenPHP

2024-01-29 16:18:00 UTC (buildkit.dockerfile.v0)

LABEL org.opencontainers.image.description=The modern PHP app server

2024-01-29 16:18:00 UTC (buildkit.dockerfile.v0)

LABEL org.opencontainers.image.url=https://frankenphp.dev

2024-01-29 16:18:00 UTC (buildkit.dockerfile.v0)

LABEL org.opencontainers.image.source=https://github.com/dunglas/frankenphp

2024-01-29 16:18:00 UTC (buildkit.dockerfile.v0)

LABEL org.opencontainers.image.licenses=MIT

2024-01-29 16:18:00 UTC (buildkit.dockerfile.v0)

LABEL org.opencontainers.image.vendor=Kévin Dunglas

2024-01-29 16:18:00 UTC (buildkit.dockerfile.v0)

ARG FRANKENPHP_VERSION=dev

2024-01-29 16:18:00 UTC (buildkit.dockerfile.v0)

SHELL [/bin/ash -eo pipefail -c]

2024-01-29 16:18:00 UTC (buildkit.dockerfile.v0)

COPY /usr/local/go /usr/local/go # buildkit

2024-01-29 16:18:00 UTC (buildkit.dockerfile.v0)

ENV PATH=/usr/local/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

2024-01-29 16:18:05 UTC (buildkit.dockerfile.v0)

RUN |1 FRANKENPHP_VERSION=85b36acce165223a6d44fde126f20cc5e38f7018 /bin/ash -eo pipefail -c apk add --no-cache --virtual .build-deps $PHPIZE_DEPS argon2-dev coreutils curl-dev gnu-libiconv-dev libsodium-dev libxml2-dev linux-headers oniguruma-dev openssl-dev readline-dev sqlite-dev # buildkit

2024-01-29 16:18:05 UTC (buildkit.dockerfile.v0)

WORKDIR /go/src/app

2024-01-29 13:26:55 UTC (buildkit.dockerfile.v0)

COPY go.mod go.sum ./ # buildkit

2024-01-29 16:18:09 UTC (buildkit.dockerfile.v0)

RUN |1 FRANKENPHP_VERSION=85b36acce165223a6d44fde126f20cc5e38f7018 /bin/ash -eo pipefail -c go mod graph | awk '{if ($1 !~ "@") print $2}' | xargs go get # buildkit

2024-01-29 16:18:09 UTC (buildkit.dockerfile.v0)

WORKDIR /go/src/app/caddy

2024-01-29 16:18:09 UTC (buildkit.dockerfile.v0)

COPY caddy/go.mod caddy/go.sum ./ # buildkit

2024-01-29 16:18:25 UTC (buildkit.dockerfile.v0)

RUN |1 FRANKENPHP_VERSION=85b36acce165223a6d44fde126f20cc5e38f7018 /bin/ash -eo pipefail -c go mod graph | awk '{if ($1 !~ "@") print $2}' | xargs go get # buildkit

2024-01-29 16:18:25 UTC (buildkit.dockerfile.v0)

WORKDIR /go/src/app

2024-01-29 13:01:13 UTC (buildkit.dockerfile.v0)

COPY *.* ./ # buildkit

2024-01-29 16:17:53 UTC (buildkit.dockerfile.v0)

COPY caddy caddy # buildkit

2024-01-29 04:01:54 UTC (buildkit.dockerfile.v0)

COPY C-Thread-Pool C-Thread-Pool # buildkit

2024-01-29 04:01:54 UTC (buildkit.dockerfile.v0)

COPY internal internal # buildkit

2024-01-29 04:01:54 UTC (buildkit.dockerfile.v0)

COPY testdata testdata # buildkit

2024-01-29 04:01:54 UTC (buildkit.dockerfile.v0)

ENV CGO_LDFLAGS=-lssl -lcrypto -lreadline -largon2 -lcurl -lonig -lz -Wl,-O1 -pie CGO_CFLAGS=-DFRANKENPHP_VERSION=85b36acce165223a6d44fde126f20cc5e38f7018 -fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 CGO_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

2024-01-29 16:18:33 UTC (buildkit.dockerfile.v0)

WORKDIR /go/src/app/caddy/frankenphp

2024-01-29 16:19:21 UTC (buildkit.dockerfile.v0)

RUN |1 FRANKENPHP_VERSION=85b36acce165223a6d44fde126f20cc5e38f7018 /bin/ash -eo pipefail -c GOBIN=/usr/local/bin go install -ldflags "-w -s -extldflags '-Wl,-z,stack-size=0x80000' -X 'github.com/caddyserver/caddy/v2.CustomVersion=FrankenPHP $FRANKENPHP_VERSION PHP $PHP_VERSION Caddy'" && setcap cap_net_bind_service=+ep /usr/local/bin/frankenphp && frankenphp version # buildkit

2024-01-29 16:19:21 UTC (buildkit.dockerfile.v0)

WORKDIR /go/src/app

Details
Created

2024-01-29 16:19:16 UTC

Size

796 MB

Content Digest
Labels
  • org.opencontainers.image.created
    2024-01-29T16:17:48Z
  • org.opencontainers.image.description
    The modern PHP app server
  • org.opencontainers.image.licenses
    MIT
  • org.opencontainers.image.revision
    85b36acce165223a6d44fde126f20cc5e38f7018
  • org.opencontainers.image.source
    https://github.com/dunglas/frankenphp
  • org.opencontainers.image.title
    FrankenPHP
  • org.opencontainers.image.url
    https://frankenphp.dev
  • org.opencontainers.image.vendor
    Kévin Dunglas
  • org.opencontainers.image.version
    85b36acce165223a6d44fde126f20cc5e38f7018

Environment
CGO_CFLAGS

-DFRANKENPHP_VERSION=85b36acce165223a6d44fde126f20cc5e38f7018 -fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

CGO_CPPFLAGS

-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

CGO_LDFLAGS

-lssl -lcrypto -lreadline -largon2 -lcurl -lonig -lz -Wl,-O1 -pie

GPG_KEYS

39B641343D8C104B2B146DC3F9C39DC0B9698544 E60913E4DF209907D8E30D96659A97C9CF2A795A 1198C0117593497A5EC5C199286AF1F9897469DC

PATH

/usr/local/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

PHPIZE_DEPS

autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c

PHP_ASC_URL

https://www.php.net/distributions/php-8.2.15.tar.xz.asc

PHP_CFLAGS

-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

PHP_CPPFLAGS

-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

PHP_INI_DIR

/usr/local/etc/php

PHP_LDFLAGS

-Wl,-O1 -pie

PHP_SHA256

eca5deac02d77d806838275f8a3024b38b35ac0a5d9853dcc71c6cbe3f1f8765

PHP_URL

https://www.php.net/distributions/php-8.2.15.tar.xz

PHP_VERSION

8.2.15

XDG_CONFIG_HOME

/config

XDG_DATA_HOME

/data


Layers

[#000] sha256:4abcf20661432fb2d719aaf90656f55c287f8ca915dc1c92ec14ff61e67fbaf8 - 0.41% (3.25 MB)

[#001] sha256:9b9ef19a461f9d419fc91c59399a9daa1f3302d30f099065a185a8bfeea3c9a8 - 0.33% (2.63 MB)

[#002] sha256:0f2fc49c6a93ebf520a5ecba9c061dbdd22083df74d0de9dcac9011f3f927d9f - 0.0% (1.23 KB)

[#003] sha256:47a4aa92ed6361a95da0e916e30e661754a1edf38c0b8b15bee6872d055e3603 - 0.0% (268 Bytes)

[#004] sha256:3bdde487d2c3c481b0aa4cd0406254b43519751c01aa878faabca1606841a70b - 1.45% (11.5 MB)

[#005] sha256:243db39c4f41b17d1f4c981d29228b0eb61f114ae253a3f4f129690393294e2e - 0.0% (494 Bytes)

[#006] sha256:4230f2e8a7294f1b80479a2e2c936775a2487f7422454e3cbb8b73b651cdc962 - 2.52% (20.1 MB)

[#007] sha256:512605a28309f52547a49fa964d679d9d77f764b239265481fc06fbe2475cbe7 - 0.0% (2.39 KB)

[#008] sha256:8702f4c215917dbb95fa104c91350bc3d06b1ee10b761156761bbcc484a082fc - 0.0% (18.8 KB)

[#009] sha256:670f352228fb460e3cca1f14dba1f377a99c385280b0ae920ab48495eef4585c - 0.0% (93 Bytes)

[#010] sha256:91c1ca3d4af0b8cd77f013b51a9c95b928a739ceb902db6a9324a22ad0559986 - 0.01% (81.5 KB)

[#011] sha256:48822cc8ca74eef3ee254015bbcd6446a0ae18de3655224dcc266a3bf025e56d - 0.0% (451 Bytes)

[#012] sha256:a8f4be7904ceda4b57c3931be73eafbbe8b302c4b516aeb5ab6b36a1aa4ed0bc - 0.0% (832 Bytes)

[#013] sha256:ecf1a2437f39ec4768935a2ad7c973ff9d75248c1c038410b492a511ca73857b - 0.0% (30 KB)

[#014] sha256:95cb97e7a74cbe1290a357f522978addb3a3278c7235c87b6efff38844fc34a3 - 8.03% (64 MB)

[#015] sha256:73b591d9b59697fd5b2062c1a61b5b4122c6b4fd1848d9df89ab388fda96a8c7 - 11.3% (90 MB)

[#016] sha256:701cfcaaf9181f3ea4c66e09bf1073e4f895332baa70a685c1fc6330c6d33adb - 0.0% (128 Bytes)

[#017] sha256:46dfe35f302d980379d8d3ca27e6532b94327767985c443a456a6ee79e75c1ba - 0.0% (1.52 KB)

[#018] sha256:fe80e54b9027b062f336149b17a68046a984378738146b2390f5b91a702ccb22 - 2.69% (21.4 MB)

[#019] sha256:19f9ea900b48922eb3405a0c97feaab8421542e16011609ac04a0b82c6e3b40d - 0.0% (152 Bytes)

[#020] sha256:a141eefd4d80a7716095ba2b7839a637646770235afbd1d776e0965c45c606f5 - 0.0% (30.8 KB)

[#021] sha256:beccde5826011b2363f3f37f0ff218035fd6904784495dce358f56183b0bac89 - 58.84% (469 MB)

[#022] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)

[#023] sha256:f4304058d6a803f31d20bce8e395f2c46dba9f368f271a1282b2ece61f95614f - 0.0% (31.3 KB)

[#024] sha256:e28d2f287f8599ec3fe10a04e451a529860f505e23ade65c0eb8e3e6c3d53b33 - 0.01% (41 KB)

[#025] sha256:990f6faf34bb9d2b1b7616b6b98753b0c425681310e9c5890d152350e718172a - 0.0% (5.15 KB)

[#026] sha256:8867f0ee246d3faf7b47f2b30429f84fcb14699ab518e4fccf0982c0ed683771 - 0.0% (721 Bytes)

[#027] sha256:de46bf30ed580b546180d873a109c6f676c5e26288fcd921d3ad1a3992632b02 - 0.0% (2.75 KB)

[#028] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)

[#029] sha256:d687524b68a720004d90711a6a09d1965e9da5aabaf1473559c0d5d9cd87357c - 14.39% (115 MB)

[#030] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)


History
2024-01-27 00:30:48 UTC

/bin/sh -c #(nop) ADD file:37a76ec18f9887751cd8473744917d08b7431fc4085097bb6a09d81b41775473 in /

2024-01-27 00:30:48 UTC

/bin/sh -c #(nop) CMD ["/bin/sh"]

2024-01-27 04:23:25 UTC

/bin/sh -c #(nop) ENV PHPIZE_DEPS=autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c

2024-01-27 04:23:26 UTC

/bin/sh -c apk add --no-cache ca-certificates curl openssl tar xz

2024-01-27 04:23:27 UTC

/bin/sh -c set -eux; adduser -u 82 -D -S -G www-data www-data

2024-01-27 04:23:27 UTC

/bin/sh -c #(nop) ENV PHP_INI_DIR=/usr/local/etc/php

2024-01-27 04:23:27 UTC

/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

2024-01-27 04:23:27 UTC

/bin/sh -c #(nop) ENV PHP_CFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

2024-01-27 04:23:27 UTC

/bin/sh -c #(nop) ENV PHP_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

2024-01-27 04:23:27 UTC

/bin/sh -c #(nop) ENV PHP_LDFLAGS=-Wl,-O1 -pie

2024-01-27 04:47:22 UTC

/bin/sh -c #(nop) ENV GPG_KEYS=39B641343D8C104B2B146DC3F9C39DC0B9698544 E60913E4DF209907D8E30D96659A97C9CF2A795A 1198C0117593497A5EC5C199286AF1F9897469DC

2024-01-27 04:47:22 UTC

/bin/sh -c #(nop) ENV PHP_VERSION=8.2.15

2024-01-27 04:47:22 UTC

/bin/sh -c #(nop) ENV PHP_URL=https://www.php.net/distributions/php-8.2.15.tar.xz PHP_ASC_URL=https://www.php.net/distributions/php-8.2.15.tar.xz.asc

2024-01-27 04:47:22 UTC

/bin/sh -c #(nop) ENV PHP_SHA256=eca5deac02d77d806838275f8a3024b38b35ac0a5d9853dcc71c6cbe3f1f8765

2024-01-27 04:47:30 UTC

/bin/sh -c set -eux; apk add --no-cache --virtual .fetch-deps gnupg; 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; if [ -n "$PHP_ASC_URL" ]; then 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"; fi; apk del --no-network .fetch-deps

2024-01-27 04:47:30 UTC

/bin/sh -c #(nop) COPY file:ce57c04b70896f77cc11eb2766417d8a1240fcffe5bba92179ec78c458844110 in /usr/local/bin/

2024-01-27 04:58:55 UTC

/bin/sh -c set -eux; apk add --no-cache --virtual .build-deps $PHPIZE_DEPS argon2-dev coreutils curl-dev gnu-libiconv-dev libsodium-dev libxml2-dev linux-headers oniguruma-dev openssl-dev readline-dev sqlite-dev ; rm -vf /usr/include/iconv.h; 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)"; ./configure --build="$gnuArch" --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=/usr --with-openssl --with-readline --with-zlib --enable-phpdbg --enable-phpdbg-readline --with-pear $(test "$gnuArch" = 's390x-linux-musl' && echo '--without-pcre-jit') --enable-embed --enable-zts --disable-zend-signals --enable-zend-max-execution-timers ; 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; runDeps="$( scanelf --needed --nobanner --format '%n#p' --recursive /usr/local | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' )"; apk add --no-cache $runDeps; apk del --no-network .build-deps; pecl update-channels; rm -rf /tmp/pear ~/.pearrc; php --version

2024-01-27 04:58:55 UTC

/bin/sh -c #(nop) COPY multi:6edd033b037aa2d7697fc3b9f82c2f162146c1920a0c6d25a165dc56783204db in /usr/local/bin/

2024-01-27 04:58:56 UTC

/bin/sh -c docker-php-ext-enable sodium

2024-01-27 04:58:57 UTC

/bin/sh -c #(nop) ENTRYPOINT ["docker-php-entrypoint"]

2024-01-27 04:58:57 UTC

/bin/sh -c #(nop) CMD ["php" "-a"]

2024-01-29 13:45:51 UTC (buildkit.dockerfile.v0)

WORKDIR /app

2024-01-29 13:45:52 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c apk add --no-cache ca-certificates libcap mailcap # buildkit

2024-01-29 13:45:52 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; mkdir -p /app/public /config/caddy /data/caddy /etc/caddy; sed -i 's/php/frankenphp run/g' /usr/local/bin/docker-php-entrypoint; echo '<?php phpinfo();' > /app/public/index.php # buildkit

2024-01-29 16:17:50 UTC (buildkit.dockerfile.v0)

COPY caddy/frankenphp/Caddyfile /etc/caddy/Caddyfile # buildkit

2024-01-29 16:17:52 UTC (buildkit.dockerfile.v0)

COPY /usr/bin/install-php-extensions /usr/local/bin/ # buildkit

2024-01-29 13:45:56 UTC (buildkit.dockerfile.v0)

CMD ["--config" "/etc/caddy/Caddyfile" "--adapter" "caddyfile"]

2024-01-29 13:45:56 UTC (buildkit.dockerfile.v0)

HEALTHCHECK &{["CMD-SHELL" "curl -f http://localhost:2019/metrics || exit 1"] "0s" "0s" "0s" "0s" '\x00'}

2024-01-29 13:45:56 UTC (buildkit.dockerfile.v0)

ENV XDG_CONFIG_HOME=/config

2024-01-29 13:45:56 UTC (buildkit.dockerfile.v0)

ENV XDG_DATA_HOME=/data

2024-01-29 13:45:56 UTC (buildkit.dockerfile.v0)

EXPOSE map[80/tcp:{}]

2024-01-29 13:45:56 UTC (buildkit.dockerfile.v0)

EXPOSE map[443/tcp:{}]

2024-01-29 13:45:56 UTC (buildkit.dockerfile.v0)

EXPOSE map[443/udp:{}]

2024-01-29 13:45:56 UTC (buildkit.dockerfile.v0)

EXPOSE map[2019/tcp:{}]

2024-01-29 13:45:56 UTC (buildkit.dockerfile.v0)

LABEL org.opencontainers.image.title=FrankenPHP

2024-01-29 13:45:56 UTC (buildkit.dockerfile.v0)

LABEL org.opencontainers.image.description=The modern PHP app server

2024-01-29 13:45:56 UTC (buildkit.dockerfile.v0)

LABEL org.opencontainers.image.url=https://frankenphp.dev

2024-01-29 13:45:56 UTC (buildkit.dockerfile.v0)

LABEL org.opencontainers.image.source=https://github.com/dunglas/frankenphp

2024-01-29 13:45:56 UTC (buildkit.dockerfile.v0)

LABEL org.opencontainers.image.licenses=MIT

2024-01-29 13:45:56 UTC (buildkit.dockerfile.v0)

LABEL org.opencontainers.image.vendor=Kévin Dunglas

2024-01-29 13:45:56 UTC (buildkit.dockerfile.v0)

ARG FRANKENPHP_VERSION=dev

2024-01-29 13:45:56 UTC (buildkit.dockerfile.v0)

SHELL [/bin/ash -eo pipefail -c]

2024-01-29 13:45:56 UTC (buildkit.dockerfile.v0)

COPY /usr/local/go /usr/local/go # buildkit

2024-01-29 13:45:56 UTC (buildkit.dockerfile.v0)

ENV PATH=/usr/local/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

2024-01-29 16:18:02 UTC (buildkit.dockerfile.v0)

RUN |1 FRANKENPHP_VERSION=85b36acce165223a6d44fde126f20cc5e38f7018 /bin/ash -eo pipefail -c apk add --no-cache --virtual .build-deps $PHPIZE_DEPS argon2-dev coreutils curl-dev gnu-libiconv-dev libsodium-dev libxml2-dev linux-headers oniguruma-dev openssl-dev readline-dev sqlite-dev # buildkit

2024-01-29 16:18:02 UTC (buildkit.dockerfile.v0)

WORKDIR /go/src/app

2024-01-29 04:01:54 UTC (buildkit.dockerfile.v0)

COPY go.mod go.sum ./ # buildkit

2024-01-29 16:18:06 UTC (buildkit.dockerfile.v0)

RUN |1 FRANKENPHP_VERSION=85b36acce165223a6d44fde126f20cc5e38f7018 /bin/ash -eo pipefail -c go mod graph | awk '{if ($1 !~ "@") print $2}' | xargs go get # buildkit

2024-01-29 16:18:06 UTC (buildkit.dockerfile.v0)

WORKDIR /go/src/app/caddy

2024-01-29 16:18:06 UTC (buildkit.dockerfile.v0)

COPY caddy/go.mod caddy/go.sum ./ # buildkit

2024-01-29 16:18:24 UTC (buildkit.dockerfile.v0)

RUN |1 FRANKENPHP_VERSION=85b36acce165223a6d44fde126f20cc5e38f7018 /bin/ash -eo pipefail -c go mod graph | awk '{if ($1 !~ "@") print $2}' | xargs go get # buildkit

2024-01-29 16:18:24 UTC (buildkit.dockerfile.v0)

WORKDIR /go/src/app

2024-01-29 13:07:00 UTC (buildkit.dockerfile.v0)

COPY *.* ./ # buildkit

2024-01-29 16:17:50 UTC (buildkit.dockerfile.v0)

COPY caddy caddy # buildkit

2024-01-29 04:01:54 UTC (buildkit.dockerfile.v0)

COPY C-Thread-Pool C-Thread-Pool # buildkit

2024-01-29 04:01:54 UTC (buildkit.dockerfile.v0)

COPY internal internal # buildkit

2024-01-29 04:01:54 UTC (buildkit.dockerfile.v0)

COPY testdata testdata # buildkit

2024-01-29 04:01:54 UTC (buildkit.dockerfile.v0)

ENV CGO_LDFLAGS=-lssl -lcrypto -lreadline -largon2 -lcurl -lonig -lz -Wl,-O1 -pie CGO_CFLAGS=-DFRANKENPHP_VERSION=85b36acce165223a6d44fde126f20cc5e38f7018 -fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 CGO_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

2024-01-29 16:18:31 UTC (buildkit.dockerfile.v0)

WORKDIR /go/src/app/caddy/frankenphp

2024-01-29 16:19:16 UTC (buildkit.dockerfile.v0)

RUN |1 FRANKENPHP_VERSION=85b36acce165223a6d44fde126f20cc5e38f7018 /bin/ash -eo pipefail -c GOBIN=/usr/local/bin go install -ldflags "-w -s -extldflags '-Wl,-z,stack-size=0x80000' -X 'github.com/caddyserver/caddy/v2.CustomVersion=FrankenPHP $FRANKENPHP_VERSION PHP $PHP_VERSION Caddy'" && setcap cap_net_bind_service=+ep /usr/local/bin/frankenphp && frankenphp version # buildkit

2024-01-29 16:19:16 UTC (buildkit.dockerfile.v0)

WORKDIR /go/src/app

Details
Created

2024-01-29 16:30:51 UTC

Size

772 MB

Content Digest
Labels
  • org.opencontainers.image.created
    2024-01-29T16:17:47Z
  • org.opencontainers.image.description
    The modern PHP app server
  • org.opencontainers.image.licenses
    MIT
  • org.opencontainers.image.revision
    85b36acce165223a6d44fde126f20cc5e38f7018
  • org.opencontainers.image.source
    https://github.com/dunglas/frankenphp
  • org.opencontainers.image.title
    FrankenPHP
  • org.opencontainers.image.url
    https://frankenphp.dev
  • org.opencontainers.image.vendor
    Kévin Dunglas
  • org.opencontainers.image.version
    85b36acce165223a6d44fde126f20cc5e38f7018

Environment
CGO_CFLAGS

-DFRANKENPHP_VERSION=85b36acce165223a6d44fde126f20cc5e38f7018 -fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

CGO_CPPFLAGS

-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

CGO_LDFLAGS

-lssl -lcrypto -lreadline -largon2 -lcurl -lonig -lz -Wl,-O1 -pie

GPG_KEYS

39B641343D8C104B2B146DC3F9C39DC0B9698544 E60913E4DF209907D8E30D96659A97C9CF2A795A 1198C0117593497A5EC5C199286AF1F9897469DC

PATH

/usr/local/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

PHPIZE_DEPS

autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c

PHP_ASC_URL

https://www.php.net/distributions/php-8.2.15.tar.xz.asc

PHP_CFLAGS

-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

PHP_CPPFLAGS

-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

PHP_INI_DIR

/usr/local/etc/php

PHP_LDFLAGS

-Wl,-O1 -pie

PHP_SHA256

eca5deac02d77d806838275f8a3024b38b35ac0a5d9853dcc71c6cbe3f1f8765

PHP_URL

https://www.php.net/distributions/php-8.2.15.tar.xz

PHP_VERSION

8.2.15

XDG_CONFIG_HOME

/config

XDG_DATA_HOME

/data


Layers

[#000] sha256:0dc2e6c0f9ded2daeca96bbf270526d182d2f4267f5c7610c222c05cad6f6b96 - 0.39% (3.02 MB)

[#001] sha256:6147d01edb253ab7eff347bb08482a430759361f869152a4c0a0ecdd946e0d17 - 0.34% (2.64 MB)

[#002] sha256:7b42f6e9b3a3a721beed37ea494f71a49e981f945e849780a3cc6a57bf1c0ed9 - 0.0% (1.23 KB)

[#003] sha256:7136267c1932cb42af7ae697ecc07c459f4c5a75f3adf037cdfff9774f183ff3 - 0.0% (269 Bytes)

[#004] sha256:55005ed483beb1ca337359ab17a9675e229b931426997399767cc9d13937a3ad - 1.49% (11.5 MB)

[#005] sha256:1aedab67bb2ee246ae317cf484a9d5751a7fe4e6b2b339dedaa0cac726c5f706 - 0.0% (491 Bytes)

[#006] sha256:2e436fed820c736d6e2392dbd435c12500f407ed75edfcf2e1a0f72d31fd9c74 - 2.4% (18.5 MB)

[#007] sha256:6fc0cfd80c704a37366be91af2a27309120ec6cc757eadf76d5113573ef15059 - 0.0% (2.39 KB)

[#008] sha256:15a510d991ce050c23c96fe90148e7aa292462f6142ab3a21742bc0966fdedbd - 0.0% (18.7 KB)

[#009] sha256:0523858e60ee44f3463199f8a20c2cbcc3d10ae3d7d2e3bca06199b2b241e62c - 0.0% (93 Bytes)

[#010] sha256:fd4a21f3b81e22c4108949db90a251572480d64a968412dbf34b7ab357d99d4d - 0.01% (80.9 KB)

[#011] sha256:058d702d0f6d3fa93079d5a4ace31789ae48b3da35fd764bde98fc4526635775 - 0.0% (455 Bytes)

[#012] sha256:47a78917053073b5a6ee56b8c4a5f01b323154d430b56d5603ffaa582affa211 - 0.0% (830 Bytes)

[#013] sha256:0139e96cdea918eaa53010e070f55a77e97e9d8c88f35d1b63a666a1dc7f277c - 0.0% (30 KB)

[#014] sha256:75c9372b7c8a97510f79117c769037b4660277fc65dad71c787c4655b30298c2 - 8.13% (62.8 MB)

[#015] sha256:af8f533f76f15c45777eca8e67e7e826d50be719448efb956f5e7a13f91ff976 - 9.84% (76 MB)

[#016] sha256:093b9092781dca0213f18d5cf5c4c523debc22bd337b187b2f4cff53b09d16b0 - 0.0% (128 Bytes)

[#017] sha256:10c47882267699aafdac5de9f0bae5c3604521f22deecb73199ce12bf1086f22 - 0.0% (1.52 KB)

[#018] sha256:29b03d8f84edaab1d27e59e633d0c78573a76d3f383fe7b65d14a99472f8c39f - 2.78% (21.4 MB)

[#019] sha256:d7aa5a107124bcfb43fec19e70bda294c9e550c771823abc7d889d48638d719f - 0.0% (154 Bytes)

[#020] sha256:aa03854af13365432716f3799dd9a84aea77e29831f19f9d6baa744d76aac458 - 0.0% (30.8 KB)

[#021] sha256:28942826f7e4bedc47249b0cb4581ec88f7f5e673959684a6bdd4f81a729f364 - 60.65% (469 MB)

[#022] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)

[#023] sha256:0ce3b0d4d206a9f856cac117e99d634fa5442aff8e8913d86f432953db601af6 - 0.0% (31.4 KB)

[#024] sha256:6c337707766734af6b244a41097794e1a1851176776796f63dd0e2c674c80c02 - 0.01% (41 KB)

[#025] sha256:e139d29dc0ab055313ca93b1ff8306dd7e7bccb1d1440fd3c355fa55e0243323 - 0.0% (5.15 KB)

[#026] sha256:8d7c71de2e23155edab28c49eeade80fd5068187289a0b78e76b419b94f8486d - 0.0% (722 Bytes)

[#027] sha256:153e89889c5ca4e4624b0d98bcd7143ce7bb39249db6fa6941ab4ef61cde502c - 0.0% (2.75 KB)

[#028] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)

[#029] sha256:2755deef64825a1b3ce6fe9c8c0e1e8195588088a945fab00cf9bf8f55b8df66 - 13.95% (108 MB)

[#030] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)


History
2024-01-26 23:49:17 UTC

/bin/sh -c #(nop) ADD file:99cc37cba14ac64dc4652e46dc671888a0265f90992faa05c32d32e21f89c147 in /

2024-01-26 23:49:17 UTC

/bin/sh -c #(nop) CMD ["/bin/sh"]

2024-01-27 05:22:15 UTC

/bin/sh -c #(nop) ENV PHPIZE_DEPS=autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c

2024-01-27 05:22:18 UTC

/bin/sh -c apk add --no-cache ca-certificates curl openssl tar xz

2024-01-27 05:22:19 UTC

/bin/sh -c set -eux; adduser -u 82 -D -S -G www-data www-data

2024-01-27 05:22:20 UTC

/bin/sh -c #(nop) ENV PHP_INI_DIR=/usr/local/etc/php

2024-01-27 05:22:21 UTC

/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

2024-01-27 05:22:22 UTC

/bin/sh -c #(nop) ENV PHP_CFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

2024-01-27 05:22:22 UTC

/bin/sh -c #(nop) ENV PHP_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

2024-01-27 05:22:22 UTC

/bin/sh -c #(nop) ENV PHP_LDFLAGS=-Wl,-O1 -pie

2024-01-27 05:52:06 UTC

/bin/sh -c #(nop) ENV GPG_KEYS=39B641343D8C104B2B146DC3F9C39DC0B9698544 E60913E4DF209907D8E30D96659A97C9CF2A795A 1198C0117593497A5EC5C199286AF1F9897469DC

2024-01-27 05:52:06 UTC

/bin/sh -c #(nop) ENV PHP_VERSION=8.2.15

2024-01-27 05:52:06 UTC

/bin/sh -c #(nop) ENV PHP_URL=https://www.php.net/distributions/php-8.2.15.tar.xz PHP_ASC_URL=https://www.php.net/distributions/php-8.2.15.tar.xz.asc

2024-01-27 05:52:07 UTC

/bin/sh -c #(nop) ENV PHP_SHA256=eca5deac02d77d806838275f8a3024b38b35ac0a5d9853dcc71c6cbe3f1f8765

2024-01-27 05:52:15 UTC

/bin/sh -c set -eux; apk add --no-cache --virtual .fetch-deps gnupg; 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; if [ -n "$PHP_ASC_URL" ]; then 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"; fi; apk del --no-network .fetch-deps

2024-01-27 05:52:15 UTC

/bin/sh -c #(nop) COPY file:ce57c04b70896f77cc11eb2766417d8a1240fcffe5bba92179ec78c458844110 in /usr/local/bin/

2024-01-27 06:06:25 UTC

/bin/sh -c set -eux; apk add --no-cache --virtual .build-deps $PHPIZE_DEPS argon2-dev coreutils curl-dev gnu-libiconv-dev libsodium-dev libxml2-dev linux-headers oniguruma-dev openssl-dev readline-dev sqlite-dev ; rm -vf /usr/include/iconv.h; 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)"; ./configure --build="$gnuArch" --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=/usr --with-openssl --with-readline --with-zlib --enable-phpdbg --enable-phpdbg-readline --with-pear $(test "$gnuArch" = 's390x-linux-musl' && echo '--without-pcre-jit') --enable-embed --enable-zts --disable-zend-signals --enable-zend-max-execution-timers ; 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; runDeps="$( scanelf --needed --nobanner --format '%n#p' --recursive /usr/local | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' )"; apk add --no-cache $runDeps; apk del --no-network .build-deps; pecl update-channels; rm -rf /tmp/pear ~/.pearrc; php --version

2024-01-27 06:06:27 UTC

/bin/sh -c #(nop) COPY multi:6edd033b037aa2d7697fc3b9f82c2f162146c1920a0c6d25a165dc56783204db in /usr/local/bin/

2024-01-27 06:06:29 UTC

/bin/sh -c docker-php-ext-enable sodium

2024-01-27 06:06:29 UTC

/bin/sh -c #(nop) ENTRYPOINT ["docker-php-entrypoint"]

2024-01-27 06:06:30 UTC

/bin/sh -c #(nop) CMD ["php" "-a"]

2024-01-29 16:17:50 UTC (buildkit.dockerfile.v0)

WORKDIR /app

2024-01-29 16:17:52 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c apk add --no-cache ca-certificates libcap mailcap # buildkit

2024-01-29 16:17:52 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; mkdir -p /app/public /config/caddy /data/caddy /etc/caddy; sed -i 's/php/frankenphp run/g' /usr/local/bin/docker-php-entrypoint; echo '<?php phpinfo();' > /app/public/index.php # buildkit

2024-01-29 16:17:49 UTC (buildkit.dockerfile.v0)

COPY caddy/frankenphp/Caddyfile /etc/caddy/Caddyfile # buildkit

2024-01-29 16:17:52 UTC (buildkit.dockerfile.v0)

COPY /usr/bin/install-php-extensions /usr/local/bin/ # buildkit

2024-01-29 04:02:02 UTC (buildkit.dockerfile.v0)

CMD ["--config" "/etc/caddy/Caddyfile" "--adapter" "caddyfile"]

2024-01-29 04:02:02 UTC (buildkit.dockerfile.v0)

HEALTHCHECK &{["CMD-SHELL" "curl -f http://localhost:2019/metrics || exit 1"] "0s" "0s" "0s" "0s" '\x00'}

2024-01-29 04:02:02 UTC (buildkit.dockerfile.v0)

ENV XDG_CONFIG_HOME=/config

2024-01-29 04:02:02 UTC (buildkit.dockerfile.v0)

ENV XDG_DATA_HOME=/data

2024-01-29 04:02:02 UTC (buildkit.dockerfile.v0)

EXPOSE map[80/tcp:{}]

2024-01-29 04:02:02 UTC (buildkit.dockerfile.v0)

EXPOSE map[443/tcp:{}]

2024-01-29 04:02:02 UTC (buildkit.dockerfile.v0)

EXPOSE map[443/udp:{}]

2024-01-29 04:02:02 UTC (buildkit.dockerfile.v0)

EXPOSE map[2019/tcp:{}]

2024-01-29 04:02:02 UTC (buildkit.dockerfile.v0)

LABEL org.opencontainers.image.title=FrankenPHP

2024-01-29 04:02:02 UTC (buildkit.dockerfile.v0)

LABEL org.opencontainers.image.description=The modern PHP app server

2024-01-29 04:02:02 UTC (buildkit.dockerfile.v0)

LABEL org.opencontainers.image.url=https://frankenphp.dev

2024-01-29 04:02:02 UTC (buildkit.dockerfile.v0)

LABEL org.opencontainers.image.source=https://github.com/dunglas/frankenphp

2024-01-29 04:02:02 UTC (buildkit.dockerfile.v0)

LABEL org.opencontainers.image.licenses=MIT

2024-01-29 04:02:02 UTC (buildkit.dockerfile.v0)

LABEL org.opencontainers.image.vendor=Kévin Dunglas

2024-01-29 04:02:02 UTC (buildkit.dockerfile.v0)

ARG FRANKENPHP_VERSION=dev

2024-01-29 04:02:02 UTC (buildkit.dockerfile.v0)

SHELL [/bin/ash -eo pipefail -c]

2024-01-29 04:02:02 UTC (buildkit.dockerfile.v0)

COPY /usr/local/go /usr/local/go # buildkit

2024-01-29 04:02:02 UTC (buildkit.dockerfile.v0)

ENV PATH=/usr/local/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

2024-01-29 16:18:06 UTC (buildkit.dockerfile.v0)

RUN |1 FRANKENPHP_VERSION=85b36acce165223a6d44fde126f20cc5e38f7018 /bin/ash -eo pipefail -c apk add --no-cache --virtual .build-deps $PHPIZE_DEPS argon2-dev coreutils curl-dev gnu-libiconv-dev libsodium-dev libxml2-dev linux-headers oniguruma-dev openssl-dev readline-dev sqlite-dev # buildkit

2024-01-29 16:18:06 UTC (buildkit.dockerfile.v0)

WORKDIR /go/src/app

2024-01-29 04:01:55 UTC (buildkit.dockerfile.v0)

COPY go.mod go.sum ./ # buildkit

2024-01-29 16:18:17 UTC (buildkit.dockerfile.v0)

RUN |1 FRANKENPHP_VERSION=85b36acce165223a6d44fde126f20cc5e38f7018 /bin/ash -eo pipefail -c go mod graph | awk '{if ($1 !~ "@") print $2}' | xargs go get # buildkit

2024-01-29 16:18:17 UTC (buildkit.dockerfile.v0)

WORKDIR /go/src/app/caddy

2024-01-29 16:18:17 UTC (buildkit.dockerfile.v0)

COPY caddy/go.mod caddy/go.sum ./ # buildkit

2024-01-29 16:19:19 UTC (buildkit.dockerfile.v0)

RUN |1 FRANKENPHP_VERSION=85b36acce165223a6d44fde126f20cc5e38f7018 /bin/ash -eo pipefail -c go mod graph | awk '{if ($1 !~ "@") print $2}' | xargs go get # buildkit

2024-01-29 16:19:19 UTC (buildkit.dockerfile.v0)

WORKDIR /go/src/app

2024-01-29 13:00:51 UTC (buildkit.dockerfile.v0)

COPY *.* ./ # buildkit

2024-01-29 16:17:49 UTC (buildkit.dockerfile.v0)

COPY caddy caddy # buildkit

2024-01-29 04:01:55 UTC (buildkit.dockerfile.v0)

COPY C-Thread-Pool C-Thread-Pool # buildkit

2024-01-29 04:01:55 UTC (buildkit.dockerfile.v0)

COPY internal internal # buildkit

2024-01-29 13:26:54 UTC (buildkit.dockerfile.v0)

COPY testdata testdata # buildkit

2024-01-29 13:26:54 UTC (buildkit.dockerfile.v0)

ENV CGO_LDFLAGS=-lssl -lcrypto -lreadline -largon2 -lcurl -lonig -lz -Wl,-O1 -pie CGO_CFLAGS=-DFRANKENPHP_VERSION=85b36acce165223a6d44fde126f20cc5e38f7018 -fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 CGO_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

2024-01-29 16:19:27 UTC (buildkit.dockerfile.v0)

WORKDIR /go/src/app/caddy/frankenphp

2024-01-29 16:30:51 UTC (buildkit.dockerfile.v0)

RUN |1 FRANKENPHP_VERSION=85b36acce165223a6d44fde126f20cc5e38f7018 /bin/ash -eo pipefail -c GOBIN=/usr/local/bin go install -ldflags "-w -s -extldflags '-Wl,-z,stack-size=0x80000' -X 'github.com/caddyserver/caddy/v2.CustomVersion=FrankenPHP $FRANKENPHP_VERSION PHP $PHP_VERSION Caddy'" && setcap cap_net_bind_service=+ep /usr/local/bin/frankenphp && frankenphp version # buildkit

2024-01-29 16:30:51 UTC (buildkit.dockerfile.v0)

WORKDIR /go/src/app

Details
Created

2024-01-29 16:31:09 UTC

Size

766 MB

Content Digest
Labels
  • org.opencontainers.image.created
    2024-01-29T16:17:52Z
  • org.opencontainers.image.description
    The modern PHP app server
  • org.opencontainers.image.licenses
    MIT
  • org.opencontainers.image.revision
    85b36acce165223a6d44fde126f20cc5e38f7018
  • org.opencontainers.image.source
    https://github.com/dunglas/frankenphp
  • org.opencontainers.image.title
    FrankenPHP
  • org.opencontainers.image.url
    https://frankenphp.dev
  • org.opencontainers.image.vendor
    Kévin Dunglas
  • org.opencontainers.image.version
    85b36acce165223a6d44fde126f20cc5e38f7018

Environment
CGO_CFLAGS

-DFRANKENPHP_VERSION=85b36acce165223a6d44fde126f20cc5e38f7018 -fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

CGO_CPPFLAGS

-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

CGO_LDFLAGS

-lssl -lcrypto -lreadline -largon2 -lcurl -lonig -lz -Wl,-O1 -pie

GPG_KEYS

39B641343D8C104B2B146DC3F9C39DC0B9698544 E60913E4DF209907D8E30D96659A97C9CF2A795A 1198C0117593497A5EC5C199286AF1F9897469DC

PATH

/usr/local/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

PHPIZE_DEPS

autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c

PHP_ASC_URL

https://www.php.net/distributions/php-8.2.15.tar.xz.asc

PHP_CFLAGS

-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

PHP_CPPFLAGS

-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

PHP_INI_DIR

/usr/local/etc/php

PHP_LDFLAGS

-Wl,-O1 -pie

PHP_SHA256

eca5deac02d77d806838275f8a3024b38b35ac0a5d9853dcc71c6cbe3f1f8765

PHP_URL

https://www.php.net/distributions/php-8.2.15.tar.xz

PHP_VERSION

8.2.15

XDG_CONFIG_HOME

/config

XDG_DATA_HOME

/data


Layers

[#000] sha256:fda0ff469afd28d9cfbb946e8e0a3c911c591a2691bea62be9187e45a1c50549 - 0.36% (2.78 MB)

[#001] sha256:1fad4c06f9510d8c219b7fe261aa66aed178abd7a1c84deb7c27194f902386d7 - 0.33% (2.49 MB)

[#002] sha256:53b84d0418e4ec14c0677d1849ef32a6fc29b8ff5271474a5fc99e97086db728 - 0.0% (1.23 KB)

[#003] sha256:4ae368cea0e62724a4b01ec73e9ff3a02291ca0fd945c2ae68057812a20aaa69 - 0.0% (269 Bytes)

[#004] sha256:65dd81ce9f474926537159466ea61163cd5e0d8208708b276b446c4e937010eb - 1.51% (11.5 MB)

[#005] sha256:97d966a63805a474d73af865d3d61bf83cb3046119d26647714d0f5985fe4f6a - 0.0% (494 Bytes)

[#006] sha256:7291ef2352f43ea567be6806bb6e9a64e933a45ed02f770b61a4c28f3afdbc70 - 2.26% (17.3 MB)

[#007] sha256:f1dc002eee45e6ac25876e5f69bd2fd5249154cfe2eb3893411c30c91bca7993 - 0.0% (2.39 KB)

[#008] sha256:1d4630b677c3ac37153e7408ccfcc950fa2b0af4f43c5d80fa88ea72f228acb3 - 0.0% (18.7 KB)

[#009] sha256:11d4664eae8f927c43be608c8fca70816f5d3b479fd4c0b069ee24d9976b92f8 - 0.0% (93 Bytes)

[#010] sha256:dd5dfe9903daf1893295f915819c7f81661e7392f2f4afacf0c9c60593c75332 - 0.01% (78.2 KB)

[#011] sha256:443b58cf94557991ab4a36a5515c53a8122ce56b3bd6a46c1095b55b3854913e - 0.0% (456 Bytes)

[#012] sha256:8565a229b238073b78174507a2a2de726e544e01c8bbd9a4d9bb3ea04b6df4f7 - 0.0% (833 Bytes)

[#013] sha256:d8633ba07ef11c96e431111a8ad77698388c9db2ecf6f8efe81b84d8e3faf91e - 0.0% (30 KB)

[#014] sha256:f2075b2cd95656756b951accfaee07ce9dae4d67cd1a332a69184cfc123deafb - 8.2% (62.8 MB)

[#015] sha256:14e9c0c31e5190f5906d8de8a315e4f0c06e8fb83b409ab1783bfc4e4e8e750c - 9.25% (70.8 MB)

[#016] sha256:5763e97f9089eb2b871c53825650b3472aa025977ddd1a1bd6ac4cc23b714657 - 0.0% (127 Bytes)

[#017] sha256:e802c13eef6e2671fd550b6bf69c9e899201bbd03ff9e868f58eba91bb5840ff - 0.0% (1.52 KB)

[#018] sha256:84d3df48509e9ac6a7fefc03a82c8410efe14d6f348faf2d324250b558e28a89 - 2.8% (21.4 MB)

[#019] sha256:c515133a87c195ba18242899e041f7ddf1b1c7d894114c91edfd71f7f93ccac7 - 0.0% (153 Bytes)

[#020] sha256:d32db1a3d6bfaebe61cc28fabe05238b6f33f162387e018313af0ef6e2a7a5ca - 0.0% (30.8 KB)

[#021] sha256:cb08b6c95302bd1003b6102a969e3df5081ac7fef6ebe81013b1fd4a7f3c0cfa - 61.19% (469 MB)

[#022] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)

[#023] sha256:9e67989a03bd69e66b648e1c28b9e52c51d8d6f16aa56ea7fde58ade97bf5c85 - 0.0% (31.4 KB)

[#024] sha256:81371b842d34a3392a3adb8c7e90a9d968ef07e7973dcfe4d508d0859093cdf1 - 0.01% (41 KB)

[#025] sha256:a3e457bc646abb979d39c30667f2ac1a2b0010b02c09f4223e5cdc705ffea060 - 0.0% (5.16 KB)

[#026] sha256:6f834e5e3a1a0bbf1635ce538b4a95ac9454825d14df8bab33d7bbe778f80f74 - 0.0% (724 Bytes)

[#027] sha256:b2d5cdd38059de8102a3c9df29fc47ec33e3fe50c47f4eb5c7ab0742e0227b12 - 0.0% (2.75 KB)

[#028] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)

[#029] sha256:e4df1b6dd6d37bb8e76cc760e7d8043d689e2afa49aca829b9661e2a4906315c - 14.08% (108 MB)

[#030] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)


History
2024-01-27 00:14:54 UTC

/bin/sh -c #(nop) ADD file:dca2a738b46ed78f0ccd7e23ba4d4729528feaa423a0ff0ac5c3512bf43b6fae in /

2024-01-27 00:14:54 UTC

/bin/sh -c #(nop) CMD ["/bin/sh"]

2024-01-27 06:34:52 UTC

/bin/sh -c #(nop) ENV PHPIZE_DEPS=autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c

2024-01-27 06:34:53 UTC

/bin/sh -c apk add --no-cache ca-certificates curl openssl tar xz

2024-01-27 06:34:54 UTC

/bin/sh -c set -eux; adduser -u 82 -D -S -G www-data www-data

2024-01-27 06:34:54 UTC

/bin/sh -c #(nop) ENV PHP_INI_DIR=/usr/local/etc/php

2024-01-27 06:34:55 UTC

/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

2024-01-27 06:34:55 UTC

/bin/sh -c #(nop) ENV PHP_CFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

2024-01-27 06:34:55 UTC

/bin/sh -c #(nop) ENV PHP_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

2024-01-27 06:34:56 UTC

/bin/sh -c #(nop) ENV PHP_LDFLAGS=-Wl,-O1 -pie

2024-01-27 06:55:08 UTC

/bin/sh -c #(nop) ENV GPG_KEYS=39B641343D8C104B2B146DC3F9C39DC0B9698544 E60913E4DF209907D8E30D96659A97C9CF2A795A 1198C0117593497A5EC5C199286AF1F9897469DC

2024-01-27 06:55:08 UTC

/bin/sh -c #(nop) ENV PHP_VERSION=8.2.15

2024-01-27 06:55:09 UTC

/bin/sh -c #(nop) ENV PHP_URL=https://www.php.net/distributions/php-8.2.15.tar.xz PHP_ASC_URL=https://www.php.net/distributions/php-8.2.15.tar.xz.asc

2024-01-27 06:55:09 UTC

/bin/sh -c #(nop) ENV PHP_SHA256=eca5deac02d77d806838275f8a3024b38b35ac0a5d9853dcc71c6cbe3f1f8765

2024-01-27 06:55:16 UTC

/bin/sh -c set -eux; apk add --no-cache --virtual .fetch-deps gnupg; 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; if [ -n "$PHP_ASC_URL" ]; then 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"; fi; apk del --no-network .fetch-deps

2024-01-27 06:55:16 UTC

/bin/sh -c #(nop) COPY file:ce57c04b70896f77cc11eb2766417d8a1240fcffe5bba92179ec78c458844110 in /usr/local/bin/

2024-01-27 07:03:59 UTC

/bin/sh -c set -eux; apk add --no-cache --virtual .build-deps $PHPIZE_DEPS argon2-dev coreutils curl-dev gnu-libiconv-dev libsodium-dev libxml2-dev linux-headers oniguruma-dev openssl-dev readline-dev sqlite-dev ; rm -vf /usr/include/iconv.h; 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)"; ./configure --build="$gnuArch" --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=/usr --with-openssl --with-readline --with-zlib --enable-phpdbg --enable-phpdbg-readline --with-pear $(test "$gnuArch" = 's390x-linux-musl' && echo '--without-pcre-jit') --enable-embed --enable-zts --disable-zend-signals --enable-zend-max-execution-timers ; 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; runDeps="$( scanelf --needed --nobanner --format '%n#p' --recursive /usr/local | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' )"; apk add --no-cache $runDeps; apk del --no-network .build-deps; pecl update-channels; rm -rf /tmp/pear ~/.pearrc; php --version

2024-01-27 07:03:59 UTC

/bin/sh -c #(nop) COPY multi:6edd033b037aa2d7697fc3b9f82c2f162146c1920a0c6d25a165dc56783204db in /usr/local/bin/

2024-01-27 07:04:00 UTC

/bin/sh -c docker-php-ext-enable sodium

2024-01-27 07:04:00 UTC

/bin/sh -c #(nop) ENTRYPOINT ["docker-php-entrypoint"]

2024-01-27 07:04:00 UTC

/bin/sh -c #(nop) CMD ["php" "-a"]

2024-01-29 16:17:57 UTC (buildkit.dockerfile.v0)

WORKDIR /app

2024-01-29 16:18:00 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c apk add --no-cache ca-certificates libcap mailcap # buildkit

2024-01-29 16:18:00 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; mkdir -p /app/public /config/caddy /data/caddy /etc/caddy; sed -i 's/php/frankenphp run/g' /usr/local/bin/docker-php-entrypoint; echo '<?php phpinfo();' > /app/public/index.php # buildkit

2024-01-29 16:17:55 UTC (buildkit.dockerfile.v0)

COPY caddy/frankenphp/Caddyfile /etc/caddy/Caddyfile # buildkit

2024-01-29 16:18:00 UTC (buildkit.dockerfile.v0)

COPY /usr/bin/install-php-extensions /usr/local/bin/ # buildkit

2024-01-29 16:18:02 UTC (buildkit.dockerfile.v0)

CMD ["--config" "/etc/caddy/Caddyfile" "--adapter" "caddyfile"]

2024-01-29 16:18:02 UTC (buildkit.dockerfile.v0)

HEALTHCHECK &{["CMD-SHELL" "curl -f http://localhost:2019/metrics || exit 1"] "0s" "0s" "0s" "0s" '\x00'}

2024-01-29 16:18:02 UTC (buildkit.dockerfile.v0)

ENV XDG_CONFIG_HOME=/config

2024-01-29 16:18:02 UTC (buildkit.dockerfile.v0)

ENV XDG_DATA_HOME=/data

2024-01-29 16:18:02 UTC (buildkit.dockerfile.v0)

EXPOSE map[80/tcp:{}]

2024-01-29 16:18:02 UTC (buildkit.dockerfile.v0)

EXPOSE map[443/tcp:{}]

2024-01-29 16:18:02 UTC (buildkit.dockerfile.v0)

EXPOSE map[443/udp:{}]

2024-01-29 16:18:02 UTC (buildkit.dockerfile.v0)

EXPOSE map[2019/tcp:{}]

2024-01-29 16:18:02 UTC (buildkit.dockerfile.v0)

LABEL org.opencontainers.image.title=FrankenPHP

2024-01-29 16:18:02 UTC (buildkit.dockerfile.v0)

LABEL org.opencontainers.image.description=The modern PHP app server

2024-01-29 16:18:02 UTC (buildkit.dockerfile.v0)

LABEL org.opencontainers.image.url=https://frankenphp.dev

2024-01-29 16:18:02 UTC (buildkit.dockerfile.v0)

LABEL org.opencontainers.image.source=https://github.com/dunglas/frankenphp

2024-01-29 16:18:02 UTC (buildkit.dockerfile.v0)

LABEL org.opencontainers.image.licenses=MIT

2024-01-29 16:18:02 UTC (buildkit.dockerfile.v0)

LABEL org.opencontainers.image.vendor=Kévin Dunglas

2024-01-29 16:18:02 UTC (buildkit.dockerfile.v0)

ARG FRANKENPHP_VERSION=dev

2024-01-29 16:18:02 UTC (buildkit.dockerfile.v0)

SHELL [/bin/ash -eo pipefail -c]

2024-01-29 16:18:02 UTC (buildkit.dockerfile.v0)

COPY /usr/local/go /usr/local/go # buildkit

2024-01-29 16:18:02 UTC (buildkit.dockerfile.v0)

ENV PATH=/usr/local/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

2024-01-29 16:18:12 UTC (buildkit.dockerfile.v0)

RUN |1 FRANKENPHP_VERSION=85b36acce165223a6d44fde126f20cc5e38f7018 /bin/ash -eo pipefail -c apk add --no-cache --virtual .build-deps $PHPIZE_DEPS argon2-dev coreutils curl-dev gnu-libiconv-dev libsodium-dev libxml2-dev linux-headers oniguruma-dev openssl-dev readline-dev sqlite-dev # buildkit

2024-01-29 16:18:12 UTC (buildkit.dockerfile.v0)

WORKDIR /go/src/app

2024-01-29 13:07:11 UTC (buildkit.dockerfile.v0)

COPY go.mod go.sum ./ # buildkit

2024-01-29 16:18:23 UTC (buildkit.dockerfile.v0)

RUN |1 FRANKENPHP_VERSION=85b36acce165223a6d44fde126f20cc5e38f7018 /bin/ash -eo pipefail -c go mod graph | awk '{if ($1 !~ "@") print $2}' | xargs go get # buildkit

2024-01-29 16:18:23 UTC (buildkit.dockerfile.v0)

WORKDIR /go/src/app/caddy

2024-01-29 16:18:23 UTC (buildkit.dockerfile.v0)

COPY caddy/go.mod caddy/go.sum ./ # buildkit

2024-01-29 16:19:22 UTC (buildkit.dockerfile.v0)

RUN |1 FRANKENPHP_VERSION=85b36acce165223a6d44fde126f20cc5e38f7018 /bin/ash -eo pipefail -c go mod graph | awk '{if ($1 !~ "@") print $2}' | xargs go get # buildkit

2024-01-29 16:19:22 UTC (buildkit.dockerfile.v0)

WORKDIR /go/src/app

2024-01-29 13:07:11 UTC (buildkit.dockerfile.v0)

COPY *.* ./ # buildkit

2024-01-29 16:17:55 UTC (buildkit.dockerfile.v0)

COPY caddy caddy # buildkit

2024-01-29 13:07:11 UTC (buildkit.dockerfile.v0)

COPY C-Thread-Pool C-Thread-Pool # buildkit

2024-01-29 13:07:11 UTC (buildkit.dockerfile.v0)

COPY internal internal # buildkit

2024-01-29 13:07:11 UTC (buildkit.dockerfile.v0)

COPY testdata testdata # buildkit

2024-01-29 13:07:11 UTC (buildkit.dockerfile.v0)

ENV CGO_LDFLAGS=-lssl -lcrypto -lreadline -largon2 -lcurl -lonig -lz -Wl,-O1 -pie CGO_CFLAGS=-DFRANKENPHP_VERSION=85b36acce165223a6d44fde126f20cc5e38f7018 -fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 CGO_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

2024-01-29 16:19:30 UTC (buildkit.dockerfile.v0)

WORKDIR /go/src/app/caddy/frankenphp

2024-01-29 16:31:09 UTC (buildkit.dockerfile.v0)

RUN |1 FRANKENPHP_VERSION=85b36acce165223a6d44fde126f20cc5e38f7018 /bin/ash -eo pipefail -c GOBIN=/usr/local/bin go install -ldflags "-w -s -extldflags '-Wl,-z,stack-size=0x80000' -X 'github.com/caddyserver/caddy/v2.CustomVersion=FrankenPHP $FRANKENPHP_VERSION PHP $PHP_VERSION Caddy'" && setcap cap_net_bind_service=+ep /usr/local/bin/frankenphp && frankenphp version # buildkit

2024-01-29 16:31:09 UTC (buildkit.dockerfile.v0)

WORKDIR /go/src/app

Details
Created

2024-01-29 16:29:18 UTC

Size

786 MB

Content Digest
Labels
  • org.opencontainers.image.created
    2024-01-29T16:17:49Z
  • org.opencontainers.image.description
    The modern PHP app server
  • org.opencontainers.image.licenses
    MIT
  • org.opencontainers.image.revision
    85b36acce165223a6d44fde126f20cc5e38f7018
  • org.opencontainers.image.source
    https://github.com/dunglas/frankenphp
  • org.opencontainers.image.title
    FrankenPHP
  • org.opencontainers.image.url
    https://frankenphp.dev
  • org.opencontainers.image.vendor
    Kévin Dunglas
  • org.opencontainers.image.version
    85b36acce165223a6d44fde126f20cc5e38f7018

Environment
CGO_CFLAGS

-DFRANKENPHP_VERSION=85b36acce165223a6d44fde126f20cc5e38f7018 -fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

CGO_CPPFLAGS

-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

CGO_LDFLAGS

-lssl -lcrypto -lreadline -largon2 -lcurl -lonig -lz -Wl,-O1 -pie

GPG_KEYS

39B641343D8C104B2B146DC3F9C39DC0B9698544 E60913E4DF209907D8E30D96659A97C9CF2A795A 1198C0117593497A5EC5C199286AF1F9897469DC

PATH

/usr/local/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

PHPIZE_DEPS

autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c

PHP_ASC_URL

https://www.php.net/distributions/php-8.2.15.tar.xz.asc

PHP_CFLAGS

-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

PHP_CPPFLAGS

-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

PHP_INI_DIR

/usr/local/etc/php

PHP_LDFLAGS

-Wl,-O1 -pie

PHP_SHA256

eca5deac02d77d806838275f8a3024b38b35ac0a5d9853dcc71c6cbe3f1f8765

PHP_URL

https://www.php.net/distributions/php-8.2.15.tar.xz

PHP_VERSION

8.2.15

XDG_CONFIG_HOME

/config

XDG_DATA_HOME

/data


Layers

[#000] sha256:bca4290a96390d7a6fc6f2f9929370d06f8dfcacba591c76e3d5c5044e7f420c - 0.41% (3.19 MB)

[#001] sha256:f072bab4d3b766550992c322a39fcd900b329ffbe17cdcb1a7d74010688b23ec - 0.34% (2.69 MB)

[#002] sha256:537d23c253bc777c8630b1470aee1d7857122cbdf09144b5cb061bde634e0fbd - 0.0% (1.23 KB)

[#003] sha256:c65cde09541f81b6406c9aa0f33cd98ae9716bc8c625290248755e374475bda3 - 0.0% (269 Bytes)

[#004] sha256:7635cf7aef4c63fed820cf1a7d4016022d00a0480ceb121fb03561da21ed4c16 - 1.47% (11.5 MB)

[#005] sha256:9acdb20c879b0f1f0e303192e729f69ee98706f083dd82eb93e38de241a74bed - 0.0% (490 Bytes)

[#006] sha256:c93676347b39b7c950b7375eb57ff55f0e1cc0484ee6fab36244e5b731431a4e - 2.56% (20.1 MB)

[#007] sha256:d2e26cdf21fd1107d84fbfb526cafe35c8baae32c75db8965482786f1a8dbfca - 0.0% (2.39 KB)

[#008] sha256:1618861388f44ae60c1903ea7d59496a6493061dfb52b4acfaaa09b490d51166 - 0.0% (18.6 KB)

[#009] sha256:2ec3e65f8c38263b2326b4a5da89f0e806cf455bdaa2885cfecc150f7db221f2 - 0.0% (93 Bytes)

[#010] sha256:24ab8da17127e5640c6262be2042ed0a9e549d1a84ac32232d27460327b7f21c - 0.01% (90.4 KB)

[#011] sha256:9e1184331b9192b81401fd0c4d367f5840b2b89d52220654486ad30c36c4b4d5 - 0.0% (453 Bytes)

[#012] sha256:6700ac788bdb5ee28c1d18283da7e89a0ad6180bc99ad8980a164db66b3f7f79 - 0.0% (833 Bytes)

[#013] sha256:44bad6a257aff428e2a48c2a948d695db20f21e3108d632fb6a199b4993a6ef3 - 0.0% (30 KB)

[#014] sha256:3fb8d60785f19e7042f3bd2142e6de9e9d13ae6f2a9d1f74bbeb3cbe35c4a1e6 - 7.79% (61.2 MB)

[#015] sha256:b47512c7c8daa6d6c320ec61a6f21f3d3787637fad3f471a1eaa9319da73b379 - 10.98% (86.3 MB)

[#016] sha256:cef7081b119237ad478392aa9bc245ed67e18837bf998efa3fdb3b99162383f6 - 0.0% (127 Bytes)

[#017] sha256:fd486e43052fe9dfafa39943ce3a8b272f6e3aa4def634151e3d3ef9183330e1 - 0.0% (1.52 KB)

[#018] sha256:5403d697aea62215351297afaacd56c56ef64f33004559d76b482a81ba7dfb16 - 2.73% (21.4 MB)

[#019] sha256:cbdcdc32c1eaa7540efeef56efdcd6343a7f9bb39f302883f6893a1e7a95100c - 0.0% (153 Bytes)

[#020] sha256:fb3c7e83afd8c6d9f2a24ec12e49748be1f5943c837505e1e83dd0645f16db37 - 0.0% (30.8 KB)

[#021] sha256:0f66e73d9e38cd8db44c485ef9be889789e012c86b200f8ed3a29389e76be4a7 - 59.62% (469 MB)

[#022] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)

[#023] sha256:c67bb001eca4070443a698536cedf4c377d13b443f44b544fc214803f8bc8eca - 0.0% (31.3 KB)

[#024] sha256:cb7150538c7d6f337747c0aa5e08f36d93bea2131820e3ec5103a1d449f4b598 - 0.01% (41 KB)

[#025] sha256:179fbd368279747cb063ca02b2539bc95689d8b66dc0619c32b2086713190439 - 0.0% (5.16 KB)

[#026] sha256:1c4eb2ce03cebc9df0b0bd1b7c90d740f5f16c7030ed8d44c58d974d34e095b6 - 0.0% (721 Bytes)

[#027] sha256:013285bdd5f59d30cd8300af73ea7fbfd4cfbc3d08c3c1888c4a779f5801e964 - 0.0% (2.75 KB)

[#028] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)

[#029] sha256:33ca75403f636ea0973b766f266dc5dcaf66e213b3956ca5eee14cdc13cfb688 - 14.09% (111 MB)

[#030] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)


History
2024-01-26 23:44:47 UTC

/bin/sh -c #(nop) ADD file:d0764a717d1e9d0aff3fa84779b11bfa0afe4430dcb6b46d965b209167639ba0 in /

2024-01-26 23:44:47 UTC

/bin/sh -c #(nop) CMD ["/bin/sh"]

2024-01-27 07:28:53 UTC

/bin/sh -c #(nop) ENV PHPIZE_DEPS=autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c

2024-01-27 07:28:55 UTC

/bin/sh -c apk add --no-cache ca-certificates curl openssl tar xz

2024-01-27 07:28:55 UTC

/bin/sh -c set -eux; adduser -u 82 -D -S -G www-data www-data

2024-01-27 07:28:56 UTC

/bin/sh -c #(nop) ENV PHP_INI_DIR=/usr/local/etc/php

2024-01-27 07:28:56 UTC

/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

2024-01-27 07:28:56 UTC

/bin/sh -c #(nop) ENV PHP_CFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

2024-01-27 07:28:56 UTC

/bin/sh -c #(nop) ENV PHP_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

2024-01-27 07:28:56 UTC

/bin/sh -c #(nop) ENV PHP_LDFLAGS=-Wl,-O1 -pie

2024-01-27 07:53:27 UTC

/bin/sh -c #(nop) ENV GPG_KEYS=39B641343D8C104B2B146DC3F9C39DC0B9698544 E60913E4DF209907D8E30D96659A97C9CF2A795A 1198C0117593497A5EC5C199286AF1F9897469DC

2024-01-27 07:53:27 UTC

/bin/sh -c #(nop) ENV PHP_VERSION=8.2.15

2024-01-27 07:53:27 UTC

/bin/sh -c #(nop) ENV PHP_URL=https://www.php.net/distributions/php-8.2.15.tar.xz PHP_ASC_URL=https://www.php.net/distributions/php-8.2.15.tar.xz.asc

2024-01-27 07:53:27 UTC

/bin/sh -c #(nop) ENV PHP_SHA256=eca5deac02d77d806838275f8a3024b38b35ac0a5d9853dcc71c6cbe3f1f8765

2024-01-27 07:53:34 UTC

/bin/sh -c set -eux; apk add --no-cache --virtual .fetch-deps gnupg; 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; if [ -n "$PHP_ASC_URL" ]; then 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"; fi; apk del --no-network .fetch-deps

2024-01-27 07:53:34 UTC

/bin/sh -c #(nop) COPY file:ce57c04b70896f77cc11eb2766417d8a1240fcffe5bba92179ec78c458844110 in /usr/local/bin/

2024-01-27 08:04:54 UTC

/bin/sh -c set -eux; apk add --no-cache --virtual .build-deps $PHPIZE_DEPS argon2-dev coreutils curl-dev gnu-libiconv-dev libsodium-dev libxml2-dev linux-headers oniguruma-dev openssl-dev readline-dev sqlite-dev ; rm -vf /usr/include/iconv.h; 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)"; ./configure --build="$gnuArch" --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=/usr --with-openssl --with-readline --with-zlib --enable-phpdbg --enable-phpdbg-readline --with-pear $(test "$gnuArch" = 's390x-linux-musl' && echo '--without-pcre-jit') --enable-embed --enable-zts --disable-zend-signals --enable-zend-max-execution-timers ; 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; runDeps="$( scanelf --needed --nobanner --format '%n#p' --recursive /usr/local | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' )"; apk add --no-cache $runDeps; apk del --no-network .build-deps; pecl update-channels; rm -rf /tmp/pear ~/.pearrc; php --version

2024-01-27 08:04:54 UTC

/bin/sh -c #(nop) COPY multi:6edd033b037aa2d7697fc3b9f82c2f162146c1920a0c6d25a165dc56783204db in /usr/local/bin/

2024-01-27 08:04:55 UTC

/bin/sh -c docker-php-ext-enable sodium

2024-01-27 08:04:55 UTC

/bin/sh -c #(nop) ENTRYPOINT ["docker-php-entrypoint"]

2024-01-27 08:04:55 UTC

/bin/sh -c #(nop) CMD ["php" "-a"]

2024-01-29 16:17:52 UTC (buildkit.dockerfile.v0)

WORKDIR /app

2024-01-29 16:17:55 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c apk add --no-cache ca-certificates libcap mailcap # buildkit

2024-01-29 16:17:55 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; mkdir -p /app/public /config/caddy /data/caddy /etc/caddy; sed -i 's/php/frankenphp run/g' /usr/local/bin/docker-php-entrypoint; echo '<?php phpinfo();' > /app/public/index.php # buildkit

2024-01-29 16:17:50 UTC (buildkit.dockerfile.v0)

COPY caddy/frankenphp/Caddyfile /etc/caddy/Caddyfile # buildkit

2024-01-29 16:17:55 UTC (buildkit.dockerfile.v0)

COPY /usr/bin/install-php-extensions /usr/local/bin/ # buildkit

2024-01-29 16:17:57 UTC (buildkit.dockerfile.v0)

CMD ["--config" "/etc/caddy/Caddyfile" "--adapter" "caddyfile"]

2024-01-29 16:17:57 UTC (buildkit.dockerfile.v0)

HEALTHCHECK &{["CMD-SHELL" "curl -f http://localhost:2019/metrics || exit 1"] "0s" "0s" "0s" "0s" '\x00'}

2024-01-29 16:17:57 UTC (buildkit.dockerfile.v0)

ENV XDG_CONFIG_HOME=/config

2024-01-29 16:17:57 UTC (buildkit.dockerfile.v0)

ENV XDG_DATA_HOME=/data

2024-01-29 16:17:57 UTC (buildkit.dockerfile.v0)

EXPOSE map[80/tcp:{}]

2024-01-29 16:17:57 UTC (buildkit.dockerfile.v0)

EXPOSE map[443/tcp:{}]

2024-01-29 16:17:57 UTC (buildkit.dockerfile.v0)

EXPOSE map[443/udp:{}]

2024-01-29 16:17:57 UTC (buildkit.dockerfile.v0)

EXPOSE map[2019/tcp:{}]

2024-01-29 16:17:57 UTC (buildkit.dockerfile.v0)

LABEL org.opencontainers.image.title=FrankenPHP

2024-01-29 16:17:57 UTC (buildkit.dockerfile.v0)

LABEL org.opencontainers.image.description=The modern PHP app server

2024-01-29 16:17:57 UTC (buildkit.dockerfile.v0)

LABEL org.opencontainers.image.url=https://frankenphp.dev

2024-01-29 16:17:57 UTC (buildkit.dockerfile.v0)

LABEL org.opencontainers.image.source=https://github.com/dunglas/frankenphp

2024-01-29 16:17:57 UTC (buildkit.dockerfile.v0)

LABEL org.opencontainers.image.licenses=MIT

2024-01-29 16:17:57 UTC (buildkit.dockerfile.v0)

LABEL org.opencontainers.image.vendor=Kévin Dunglas

2024-01-29 16:17:57 UTC (buildkit.dockerfile.v0)

ARG FRANKENPHP_VERSION=dev

2024-01-29 16:17:57 UTC (buildkit.dockerfile.v0)

SHELL [/bin/ash -eo pipefail -c]

2024-01-29 16:17:57 UTC (buildkit.dockerfile.v0)

COPY /usr/local/go /usr/local/go # buildkit

2024-01-29 16:17:57 UTC (buildkit.dockerfile.v0)

ENV PATH=/usr/local/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

2024-01-29 16:18:10 UTC (buildkit.dockerfile.v0)

RUN |1 FRANKENPHP_VERSION=85b36acce165223a6d44fde126f20cc5e38f7018 /bin/ash -eo pipefail -c apk add --no-cache --virtual .build-deps $PHPIZE_DEPS argon2-dev coreutils curl-dev gnu-libiconv-dev libsodium-dev libxml2-dev linux-headers oniguruma-dev openssl-dev readline-dev sqlite-dev # buildkit

2024-01-29 16:18:10 UTC (buildkit.dockerfile.v0)

WORKDIR /go/src/app

2024-01-29 04:01:50 UTC (buildkit.dockerfile.v0)

COPY go.mod go.sum ./ # buildkit

2024-01-29 16:18:18 UTC (buildkit.dockerfile.v0)

RUN |1 FRANKENPHP_VERSION=85b36acce165223a6d44fde126f20cc5e38f7018 /bin/ash -eo pipefail -c go mod graph | awk '{if ($1 !~ "@") print $2}' | xargs go get # buildkit

2024-01-29 16:18:18 UTC (buildkit.dockerfile.v0)

WORKDIR /go/src/app/caddy

2024-01-29 16:18:18 UTC (buildkit.dockerfile.v0)

COPY caddy/go.mod caddy/go.sum ./ # buildkit

2024-01-29 16:19:09 UTC (buildkit.dockerfile.v0)

RUN |1 FRANKENPHP_VERSION=85b36acce165223a6d44fde126f20cc5e38f7018 /bin/ash -eo pipefail -c go mod graph | awk '{if ($1 !~ "@") print $2}' | xargs go get # buildkit

2024-01-29 16:19:09 UTC (buildkit.dockerfile.v0)

WORKDIR /go/src/app

2024-01-29 13:11:43 UTC (buildkit.dockerfile.v0)

COPY *.* ./ # buildkit

2024-01-29 16:17:50 UTC (buildkit.dockerfile.v0)

COPY caddy caddy # buildkit

2024-01-29 04:01:50 UTC (buildkit.dockerfile.v0)

COPY C-Thread-Pool C-Thread-Pool # buildkit

2024-01-29 04:01:50 UTC (buildkit.dockerfile.v0)

COPY internal internal # buildkit

2024-01-29 04:01:50 UTC (buildkit.dockerfile.v0)

COPY testdata testdata # buildkit

2024-01-29 04:01:50 UTC (buildkit.dockerfile.v0)

ENV CGO_LDFLAGS=-lssl -lcrypto -lreadline -largon2 -lcurl -lonig -lz -Wl,-O1 -pie CGO_CFLAGS=-DFRANKENPHP_VERSION=85b36acce165223a6d44fde126f20cc5e38f7018 -fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 CGO_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

2024-01-29 16:19:17 UTC (buildkit.dockerfile.v0)

WORKDIR /go/src/app/caddy/frankenphp

2024-01-29 16:29:18 UTC (buildkit.dockerfile.v0)

RUN |1 FRANKENPHP_VERSION=85b36acce165223a6d44fde126f20cc5e38f7018 /bin/ash -eo pipefail -c GOBIN=/usr/local/bin go install -ldflags "-w -s -extldflags '-Wl,-z,stack-size=0x80000' -X 'github.com/caddyserver/caddy/v2.CustomVersion=FrankenPHP $FRANKENPHP_VERSION PHP $PHP_VERSION Caddy'" && setcap cap_net_bind_service=+ep /usr/local/bin/frankenphp && frankenphp version # buildkit

2024-01-29 16:29:18 UTC (buildkit.dockerfile.v0)

WORKDIR /go/src/app

Danger Zone
Delete Tag

Please be careful as this will not just delete the reference but also the actual content!

For example when you have latest and v1.2.3 both pointing to the same image
the deletion of latest will also permanently remove v1.2.3.

Delete