2024-09-25 20:44:12 UTC
54.3 MB
39B641343D8C104B2B146DC3F9C39DC0B9698544 E60913E4DF209907D8E30D96659A97C9CF2A795A 1198C0117593497A5EC5C199286AF1F9897469DC
MATOMO_VERSION5.1.2
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PHPIZE_DEPSautoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c
PHP_ASC_URLhttps://www.php.net/distributions/php-8.2.26.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_MEMORY_LIMIT256M
PHP_SHA25654747400cb4874288ad41a785e6147e2ff546cceeeb55c23c00c771ac125c6ef
PHP_URLhttps://www.php.net/distributions/php-8.2.26.tar.xz
PHP_VERSION8.2.26
[#000] sha256:8e5e849a30a22d7386238d38bd56dd5564638f4856bee415fad2bc5852c31989 - 6.09% (3.31 MB)
[#001] sha256:1fdb3455e198752fc50002f1ff7bd490d513a1157e9fdda13a7fb64402522831 - 5.93% (3.22 MB)
[#002] sha256:e39d5b4e53bd7c9886b376c1ec33371e266167823aea0537b11712edda24b50f - 0.0% (946 Bytes)
[#003] sha256:2a2b129acc7c1c6d430953ab70b835b4e500ab129abf1ce6134b21f0dc3c5278 - 0.0% (217 Bytes)
[#004] sha256:4f098e5631c0bc36c96fa7188478dd897e211d302441e3086d0ba61df4ff0d14 - 21.36% (11.6 MB)
[#005] sha256:c16bb2fda09db4210ddce857a1b38886fcb937aa9990aff3ba0a7c4db6884a7e - 0.0% (487 Bytes)
[#006] sha256:5a52805cd97d170d47e168fef2250ac67a9e2705eb4f3f4d21dac27d010b54db - 23.34% (12.7 MB)
[#007] sha256:4e44b16e455c93c9cfc72444737409bedcb68472e35900924a682070ae63878b - 0.0% (2.39 KB)
[#008] sha256:026d88fe8b80bb8b88eaf53dd5b724521d635776b713c222845efdba0017dde2 - 0.04% (19.6 KB)
[#009] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)
[#010] sha256:107a7817d76d6bb15489b455d72681ffae9f3d578a0c982a8f97417f189ce51d - 0.02% (8.96 KB)
[#011] sha256:ac4123d6281842d4054873ba89e1fb555824042d38f31237a782aadb028d4fb5 - 5.94% (3.23 MB)
[#012] sha256:a63a91171804a5a2b494fb056cb86f47a07cf1fcda33d6ec2be68458dc74d4f2 - 0.0% (320 Bytes)
[#013] sha256:d0900da3f986c594967e44403df8bd55b80551d0315dc4b7f28848fdf12d6393 - 37.29% (20.3 MB)
[#014] sha256:0f1b680a1731371179d0b792defff767492f80b7421c015b424e5d8ab261573e - 0.0% (340 Bytes)
[#015] sha256:1949c6337b552c0d7b60d507781e5e44e8c937ab95363d53d67ea52c0752880e - 0.0% (824 Bytes)
ADD alpine-minirootfs-3.21.0-x86.tar.gz / # buildkit
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)CMD ["/bin/sh"]
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)ENV PHPIZE_DEPS=autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c apk add --no-cache ca-certificates curl openssl tar xz # buildkit
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; adduser -u 82 -D -S -G www-data www-data # buildkit
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)ENV PHP_INI_DIR=/usr/local/etc/php
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)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
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)ENV PHP_CFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)ENV PHP_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)ENV PHP_LDFLAGS=-Wl,-O1 -pie
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)ENV GPG_KEYS=39B641343D8C104B2B146DC3F9C39DC0B9698544 E60913E4DF209907D8E30D96659A97C9CF2A795A 1198C0117593497A5EC5C199286AF1F9897469DC
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)ENV PHP_VERSION=8.2.26
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)ENV PHP_URL=https://www.php.net/distributions/php-8.2.26.tar.xz PHP_ASC_URL=https://www.php.net/distributions/php-8.2.26.tar.xz.asc
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)ENV PHP_SHA256=54747400cb4874288ad41a785e6147e2ff546cceeeb55c23c00c771ac125c6ef
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)RUN /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 # buildkit
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)COPY docker-php-source /usr/local/bin/ # buildkit
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)RUN /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 --disable-phpdbg --with-pear $(test "$gnuArch" = 'riscv64-linux-musl' && echo '--without-pcre-jit') --disable-cgi --enable-fpm --with-fpm-user=www-data --with-fpm-group=www-data ; 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 # buildkit
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/ # buildkit
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c docker-php-ext-enable sodium # buildkit
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-php-entrypoint"]
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)WORKDIR /var/www/html
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; cd /usr/local/etc; if [ -d php-fpm.d ]; then sed 's!=NONE/!=!g' php-fpm.conf.default | tee php-fpm.conf > /dev/null; cp php-fpm.d/www.conf.default php-fpm.d/www.conf; else mkdir php-fpm.d; cp php-fpm.conf.default php-fpm.d/www.conf; { echo '[global]'; echo 'include=etc/php-fpm.d/*.conf'; } | tee php-fpm.conf; fi; { echo '[global]'; echo 'error_log = /proc/self/fd/2'; echo; echo '; https://github.com/docker-library/php/pull/725#issuecomment-443540114'; echo 'log_limit = 8192'; echo; echo '[www]'; echo '; php-fpm closes STDOUT on startup, so sending logs to /proc/self/fd/1 does not work.'; echo '; https://bugs.php.net/bug.php?id=73886'; echo 'access.log = /proc/self/fd/2'; echo; echo 'clear_env = no'; echo; echo '; Ensure worker stdout and stderr are sent to the main error log.'; echo 'catch_workers_output = yes'; echo 'decorate_workers_output = no'; } | tee php-fpm.d/docker.conf; { echo '[global]'; echo 'daemonize = no'; echo; echo '[www]'; echo 'listen = 9000'; } | tee php-fpm.d/zz-docker.conf; mkdir -p "$PHP_INI_DIR/conf.d"; { echo '; https://github.com/docker-library/php/issues/878#issuecomment-938595965'; echo 'fastcgi.logging = Off'; } > "$PHP_INI_DIR/conf.d/docker-fpm.ini" # buildkit
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)STOPSIGNAL SIGQUIT
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)EXPOSE map[9000/tcp:{}]
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)CMD ["php-fpm"]
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)ENV PHP_MEMORY_LIMIT=256M
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -ex; apk add --no-cache --virtual .build-deps $PHPIZE_DEPS autoconf freetype-dev icu-dev libjpeg-turbo-dev libpng-dev libzip-dev openldap-dev pcre-dev procps ; docker-php-ext-configure gd --with-freetype --with-jpeg; docker-php-ext-configure ldap; docker-php-ext-install -j "$(nproc)" gd bcmath ldap mysqli opcache pdo_mysql zip ; pecl install APCu-5.1.24; pecl install redis-6.0.2; docker-php-ext-enable apcu redis ; rm -r /tmp/pear; runDeps="$( scanelf --needed --nobanner --format '%n#p' --recursive /usr/local/lib/php/extensions | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' )"; apk add --no-network --virtual .matomo-phpext-rundeps $runDeps; apk del --no-network .build-deps # buildkit
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c { echo 'opcache.memory_consumption=128'; echo 'opcache.interned_strings_buffer=8'; echo 'opcache.max_accelerated_files=4000'; echo 'opcache.revalidate_freq=2'; echo 'opcache.fast_shutdown=1'; } > /usr/local/etc/php/conf.d/opcache-recommended.ini # buildkit
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)ENV MATOMO_VERSION=5.1.2
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -ex; apk add --no-cache --virtual .fetch-deps gnupg ; curl -fsSL -o matomo.tar.gz "https://builds.matomo.org/matomo-${MATOMO_VERSION}.tar.gz"; curl -fsSL -o matomo.tar.gz.asc "https://builds.matomo.org/matomo-${MATOMO_VERSION}.tar.gz.asc"; export GNUPGHOME="$(mktemp -d)"; gpg --batch --keyserver keyserver.ubuntu.com --recv-keys F529A27008477483777FC23D63BB30D0E5D2C749; gpg --batch --verify matomo.tar.gz.asc matomo.tar.gz; gpgconf --kill all; rm -rf "$GNUPGHOME" matomo.tar.gz.asc; tar -xzf matomo.tar.gz -C /usr/src/; rm matomo.tar.gz; apk del .fetch-deps # buildkit
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)COPY php.ini /usr/local/etc/php/conf.d/php-matomo.ini # buildkit
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh /entrypoint.sh # buildkit
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)VOLUME [/var/www/html]
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["/entrypoint.sh"]
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)CMD ["php-fpm"]
2024-09-25 20:44:12 UTC
54.2 MB
39B641343D8C104B2B146DC3F9C39DC0B9698544 E60913E4DF209907D8E30D96659A97C9CF2A795A 1198C0117593497A5EC5C199286AF1F9897469DC
MATOMO_VERSION5.1.2
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PHPIZE_DEPSautoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c
PHP_ASC_URLhttps://www.php.net/distributions/php-8.2.26.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_MEMORY_LIMIT256M
PHP_SHA25654747400cb4874288ad41a785e6147e2ff546cceeeb55c23c00c771ac125c6ef
PHP_URLhttps://www.php.net/distributions/php-8.2.26.tar.xz
PHP_VERSION8.2.26
[#000] sha256:38a8310d387e375e0ec6fabe047a9149e8eb214073db9f461fee6251fd936a75 - 6.42% (3.48 MB)
[#001] sha256:7231693c9fc92d8469b13bec5043b73f4ee1c29e2a4a72d15af93a61fd7323b5 - 5.87% (3.18 MB)
[#002] sha256:2adea0a37ec01acd4f78beb104975511fa18adcbd7e5e3ea0b22b6141501ee62 - 0.0% (945 Bytes)
[#003] sha256:ef563a2c247d9c4c35317d6d1f400451fa3de0f63ce71780b9b8f4e1ed7454c0 - 0.0% (217 Bytes)
[#004] sha256:b92908d18e994e247c5aeb529e13eca5478622d8a2e8e57f9888fb8a93869eba - 21.41% (11.6 MB)
[#005] sha256:915a493c5b754cda2fae535655ea856f6073f37dcee8c57f0c1eb72030fb5ef6 - 0.0% (487 Bytes)
[#006] sha256:60fca2524d7e1755f43585e7ce1ffc1a50e1d181aaf0a86102ea205d335527d1 - 22.83% (12.4 MB)
[#007] sha256:931b17db8a1a8add189b1c1773325874347f43ee9c0c7f5b8dbe12f372ed1acb - 0.0% (2.39 KB)
[#008] sha256:8d8c28138d0ace41897cb20f285b5ccb8beb48a0c8c39d3675725e2389676592 - 0.04% (19.6 KB)
[#009] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)
[#010] sha256:f093a329bd9be92683bd9aa31cb54e732ee2135f75606a1041b998c77d08d45f - 0.02% (8.96 KB)
[#011] sha256:b24d1f1aa50b6a7380ff0b6c937903f10e6082bb7075717f3173915c4388f122 - 6.02% (3.26 MB)
[#012] sha256:7e1b368b84346f928c8ebce34ca56c16114d63a5fdc4d02ad14b25e37f3c1bf8 - 0.0% (323 Bytes)
[#013] sha256:b4cf35daa50e0f5cfc33692aef829ab0b2ab0a85c0c068c2fb83df0edce60bd5 - 37.39% (20.3 MB)
[#014] sha256:dbb89ee0fd501c19cc3cbdc61a80cd72d18ba01263d3f3c982392fde3da9cfa1 - 0.0% (341 Bytes)
[#015] sha256:bf1705291da812fcb74026e5cd86b31328fc33687a4f90b2c01c08f288d2cefc - 0.0% (824 Bytes)
ADD alpine-minirootfs-3.21.0-x86_64.tar.gz / # buildkit
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)CMD ["/bin/sh"]
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)ENV PHPIZE_DEPS=autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c apk add --no-cache ca-certificates curl openssl tar xz # buildkit
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; adduser -u 82 -D -S -G www-data www-data # buildkit
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)ENV PHP_INI_DIR=/usr/local/etc/php
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)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
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)ENV PHP_CFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)ENV PHP_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)ENV PHP_LDFLAGS=-Wl,-O1 -pie
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)ENV GPG_KEYS=39B641343D8C104B2B146DC3F9C39DC0B9698544 E60913E4DF209907D8E30D96659A97C9CF2A795A 1198C0117593497A5EC5C199286AF1F9897469DC
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)ENV PHP_VERSION=8.2.26
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)ENV PHP_URL=https://www.php.net/distributions/php-8.2.26.tar.xz PHP_ASC_URL=https://www.php.net/distributions/php-8.2.26.tar.xz.asc
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)ENV PHP_SHA256=54747400cb4874288ad41a785e6147e2ff546cceeeb55c23c00c771ac125c6ef
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)RUN /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 # buildkit
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)COPY docker-php-source /usr/local/bin/ # buildkit
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)RUN /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 --disable-phpdbg --with-pear $(test "$gnuArch" = 'riscv64-linux-musl' && echo '--without-pcre-jit') --disable-cgi --enable-fpm --with-fpm-user=www-data --with-fpm-group=www-data ; 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 # buildkit
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/ # buildkit
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c docker-php-ext-enable sodium # buildkit
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-php-entrypoint"]
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)WORKDIR /var/www/html
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; cd /usr/local/etc; if [ -d php-fpm.d ]; then sed 's!=NONE/!=!g' php-fpm.conf.default | tee php-fpm.conf > /dev/null; cp php-fpm.d/www.conf.default php-fpm.d/www.conf; else mkdir php-fpm.d; cp php-fpm.conf.default php-fpm.d/www.conf; { echo '[global]'; echo 'include=etc/php-fpm.d/*.conf'; } | tee php-fpm.conf; fi; { echo '[global]'; echo 'error_log = /proc/self/fd/2'; echo; echo '; https://github.com/docker-library/php/pull/725#issuecomment-443540114'; echo 'log_limit = 8192'; echo; echo '[www]'; echo '; php-fpm closes STDOUT on startup, so sending logs to /proc/self/fd/1 does not work.'; echo '; https://bugs.php.net/bug.php?id=73886'; echo 'access.log = /proc/self/fd/2'; echo; echo 'clear_env = no'; echo; echo '; Ensure worker stdout and stderr are sent to the main error log.'; echo 'catch_workers_output = yes'; echo 'decorate_workers_output = no'; } | tee php-fpm.d/docker.conf; { echo '[global]'; echo 'daemonize = no'; echo; echo '[www]'; echo 'listen = 9000'; } | tee php-fpm.d/zz-docker.conf; mkdir -p "$PHP_INI_DIR/conf.d"; { echo '; https://github.com/docker-library/php/issues/878#issuecomment-938595965'; echo 'fastcgi.logging = Off'; } > "$PHP_INI_DIR/conf.d/docker-fpm.ini" # buildkit
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)STOPSIGNAL SIGQUIT
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)EXPOSE map[9000/tcp:{}]
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)CMD ["php-fpm"]
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)ENV PHP_MEMORY_LIMIT=256M
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -ex; apk add --no-cache --virtual .build-deps $PHPIZE_DEPS autoconf freetype-dev icu-dev libjpeg-turbo-dev libpng-dev libzip-dev openldap-dev pcre-dev procps ; docker-php-ext-configure gd --with-freetype --with-jpeg; docker-php-ext-configure ldap; docker-php-ext-install -j "$(nproc)" gd bcmath ldap mysqli opcache pdo_mysql zip ; pecl install APCu-5.1.24; pecl install redis-6.0.2; docker-php-ext-enable apcu redis ; rm -r /tmp/pear; runDeps="$( scanelf --needed --nobanner --format '%n#p' --recursive /usr/local/lib/php/extensions | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' )"; apk add --no-network --virtual .matomo-phpext-rundeps $runDeps; apk del --no-network .build-deps # buildkit
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c { echo 'opcache.memory_consumption=128'; echo 'opcache.interned_strings_buffer=8'; echo 'opcache.max_accelerated_files=4000'; echo 'opcache.revalidate_freq=2'; echo 'opcache.fast_shutdown=1'; } > /usr/local/etc/php/conf.d/opcache-recommended.ini # buildkit
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)ENV MATOMO_VERSION=5.1.2
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -ex; apk add --no-cache --virtual .fetch-deps gnupg ; curl -fsSL -o matomo.tar.gz "https://builds.matomo.org/matomo-${MATOMO_VERSION}.tar.gz"; curl -fsSL -o matomo.tar.gz.asc "https://builds.matomo.org/matomo-${MATOMO_VERSION}.tar.gz.asc"; export GNUPGHOME="$(mktemp -d)"; gpg --batch --keyserver keyserver.ubuntu.com --recv-keys F529A27008477483777FC23D63BB30D0E5D2C749; gpg --batch --verify matomo.tar.gz.asc matomo.tar.gz; gpgconf --kill all; rm -rf "$GNUPGHOME" matomo.tar.gz.asc; tar -xzf matomo.tar.gz -C /usr/src/; rm matomo.tar.gz; apk del .fetch-deps # buildkit
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)COPY php.ini /usr/local/etc/php/conf.d/php-matomo.ini # buildkit
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh /entrypoint.sh # buildkit
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)VOLUME [/var/www/html]
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["/entrypoint.sh"]
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)CMD ["php-fpm"]
2024-09-25 20:44:12 UTC
52.2 MB
39B641343D8C104B2B146DC3F9C39DC0B9698544 E60913E4DF209907D8E30D96659A97C9CF2A795A 1198C0117593497A5EC5C199286AF1F9897469DC
MATOMO_VERSION5.1.2
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PHPIZE_DEPSautoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c
PHP_ASC_URLhttps://www.php.net/distributions/php-8.2.26.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_MEMORY_LIMIT256M
PHP_SHA25654747400cb4874288ad41a785e6147e2ff546cceeeb55c23c00c771ac125c6ef
PHP_URLhttps://www.php.net/distributions/php-8.2.26.tar.xz
PHP_VERSION8.2.26
[#000] sha256:f2148afcbc6cd4497527fc652f65872130774bf9baace0e1e6a85cad9da5f62e - 6.15% (3.21 MB)
[#001] sha256:2b736a50b989ce147c8a50cd4eff3990052fbae41313316dd15bdd3ae41bb055 - 6.04% (3.15 MB)
[#002] sha256:520076a7063b8a800f7aeb276beb6363fa2c2192a17d803ee3f5fa20b0b0b211 - 0.0% (945 Bytes)
[#003] sha256:065854d8dae5a225e01a05809bd10528e215d02290cc6d9f51d4bc29dc1ac134 - 0.0% (217 Bytes)
[#004] sha256:8c9fbbfd874bd5fae5d96e2e6933b604741e0347baa26db7e8cb7a8d5b970508 - 22.22% (11.6 MB)
[#005] sha256:53f2ee2ca1784761fab104f6e1ccdfb173bc15109c4b692802ac31ecb13260f8 - 0.0% (489 Bytes)
[#006] sha256:76bc3639bf85deb4a9be3c0d9872c961f8697b6707e433cd8ad2e6250833e38e - 21.41% (11.2 MB)
[#007] sha256:7d133c5c37744e5d7349cc79170b5ce6331ca9c581937f301e25ca5c2ea684e8 - 0.0% (2.38 KB)
[#008] sha256:cb821ee4699e3a8c948580433e4cec4b4240dd23cb89445caa158dc16c98e7d9 - 0.04% (19.4 KB)
[#009] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)
[#010] sha256:30c34e7c8564872bec83e5aff667e417b13ac58237c2e44e3e1b776c4bed8fe4 - 0.02% (8.96 KB)
[#011] sha256:38be7f81981a1ab3f67b9bfb11634d1cb7dd8a6c65fd67e9280d27bbeb6f0e23 - 5.33% (2.78 MB)
[#012] sha256:5c13b3f6cd33c4714b796cae5c9cd4c64ef1b14fc29eefbc5711fe0c6e491d20 - 0.0% (322 Bytes)
[#013] sha256:e68b5d4a66ae7daa1756c2c7d5c95bcb73a3dfcc90f126334f7c9debb8f2f580 - 38.8% (20.2 MB)
[#014] sha256:ae23c98f92257e1d94cad889466b05fb6620755f9ff87fab1588904eb8c4e9e7 - 0.0% (341 Bytes)
[#015] sha256:89d70e08cd73a684d6d0d7256836673b1aada5e52e0e67439a95987c60d51914 - 0.0% (824 Bytes)
ADD alpine-minirootfs-3.21.0-armhf.tar.gz / # buildkit
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)CMD ["/bin/sh"]
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)ENV PHPIZE_DEPS=autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c apk add --no-cache ca-certificates curl openssl tar xz # buildkit
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; adduser -u 82 -D -S -G www-data www-data # buildkit
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)ENV PHP_INI_DIR=/usr/local/etc/php
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)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
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)ENV PHP_CFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)ENV PHP_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)ENV PHP_LDFLAGS=-Wl,-O1 -pie
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)ENV GPG_KEYS=39B641343D8C104B2B146DC3F9C39DC0B9698544 E60913E4DF209907D8E30D96659A97C9CF2A795A 1198C0117593497A5EC5C199286AF1F9897469DC
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)ENV PHP_VERSION=8.2.26
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)ENV PHP_URL=https://www.php.net/distributions/php-8.2.26.tar.xz PHP_ASC_URL=https://www.php.net/distributions/php-8.2.26.tar.xz.asc
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)ENV PHP_SHA256=54747400cb4874288ad41a785e6147e2ff546cceeeb55c23c00c771ac125c6ef
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)RUN /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 # buildkit
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)COPY docker-php-source /usr/local/bin/ # buildkit
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)RUN /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 --disable-phpdbg --with-pear $(test "$gnuArch" = 'riscv64-linux-musl' && echo '--without-pcre-jit') --disable-cgi --enable-fpm --with-fpm-user=www-data --with-fpm-group=www-data ; 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 # buildkit
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/ # buildkit
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c docker-php-ext-enable sodium # buildkit
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-php-entrypoint"]
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)WORKDIR /var/www/html
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; cd /usr/local/etc; if [ -d php-fpm.d ]; then sed 's!=NONE/!=!g' php-fpm.conf.default | tee php-fpm.conf > /dev/null; cp php-fpm.d/www.conf.default php-fpm.d/www.conf; else mkdir php-fpm.d; cp php-fpm.conf.default php-fpm.d/www.conf; { echo '[global]'; echo 'include=etc/php-fpm.d/*.conf'; } | tee php-fpm.conf; fi; { echo '[global]'; echo 'error_log = /proc/self/fd/2'; echo; echo '; https://github.com/docker-library/php/pull/725#issuecomment-443540114'; echo 'log_limit = 8192'; echo; echo '[www]'; echo '; php-fpm closes STDOUT on startup, so sending logs to /proc/self/fd/1 does not work.'; echo '; https://bugs.php.net/bug.php?id=73886'; echo 'access.log = /proc/self/fd/2'; echo; echo 'clear_env = no'; echo; echo '; Ensure worker stdout and stderr are sent to the main error log.'; echo 'catch_workers_output = yes'; echo 'decorate_workers_output = no'; } | tee php-fpm.d/docker.conf; { echo '[global]'; echo 'daemonize = no'; echo; echo '[www]'; echo 'listen = 9000'; } | tee php-fpm.d/zz-docker.conf; mkdir -p "$PHP_INI_DIR/conf.d"; { echo '; https://github.com/docker-library/php/issues/878#issuecomment-938595965'; echo 'fastcgi.logging = Off'; } > "$PHP_INI_DIR/conf.d/docker-fpm.ini" # buildkit
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)STOPSIGNAL SIGQUIT
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)EXPOSE map[9000/tcp:{}]
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)CMD ["php-fpm"]
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)ENV PHP_MEMORY_LIMIT=256M
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -ex; apk add --no-cache --virtual .build-deps $PHPIZE_DEPS autoconf freetype-dev icu-dev libjpeg-turbo-dev libpng-dev libzip-dev openldap-dev pcre-dev procps ; docker-php-ext-configure gd --with-freetype --with-jpeg; docker-php-ext-configure ldap; docker-php-ext-install -j "$(nproc)" gd bcmath ldap mysqli opcache pdo_mysql zip ; pecl install APCu-5.1.24; pecl install redis-6.0.2; docker-php-ext-enable apcu redis ; rm -r /tmp/pear; runDeps="$( scanelf --needed --nobanner --format '%n#p' --recursive /usr/local/lib/php/extensions | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' )"; apk add --no-network --virtual .matomo-phpext-rundeps $runDeps; apk del --no-network .build-deps # buildkit
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c { echo 'opcache.memory_consumption=128'; echo 'opcache.interned_strings_buffer=8'; echo 'opcache.max_accelerated_files=4000'; echo 'opcache.revalidate_freq=2'; echo 'opcache.fast_shutdown=1'; } > /usr/local/etc/php/conf.d/opcache-recommended.ini # buildkit
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)ENV MATOMO_VERSION=5.1.2
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -ex; apk add --no-cache --virtual .fetch-deps gnupg ; curl -fsSL -o matomo.tar.gz "https://builds.matomo.org/matomo-${MATOMO_VERSION}.tar.gz"; curl -fsSL -o matomo.tar.gz.asc "https://builds.matomo.org/matomo-${MATOMO_VERSION}.tar.gz.asc"; export GNUPGHOME="$(mktemp -d)"; gpg --batch --keyserver keyserver.ubuntu.com --recv-keys F529A27008477483777FC23D63BB30D0E5D2C749; gpg --batch --verify matomo.tar.gz.asc matomo.tar.gz; gpgconf --kill all; rm -rf "$GNUPGHOME" matomo.tar.gz.asc; tar -xzf matomo.tar.gz -C /usr/src/; rm matomo.tar.gz; apk del .fetch-deps # buildkit
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)COPY php.ini /usr/local/etc/php/conf.d/php-matomo.ini # buildkit
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh /entrypoint.sh # buildkit
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)VOLUME [/var/www/html]
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["/entrypoint.sh"]
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)CMD ["php-fpm"]
2024-09-25 20:44:12 UTC
51 MB
39B641343D8C104B2B146DC3F9C39DC0B9698544 E60913E4DF209907D8E30D96659A97C9CF2A795A 1198C0117593497A5EC5C199286AF1F9897469DC
MATOMO_VERSION5.1.2
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PHPIZE_DEPSautoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c
PHP_ASC_URLhttps://www.php.net/distributions/php-8.2.26.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_MEMORY_LIMIT256M
PHP_SHA25654747400cb4874288ad41a785e6147e2ff546cceeeb55c23c00c771ac125c6ef
PHP_URLhttps://www.php.net/distributions/php-8.2.26.tar.xz
PHP_VERSION8.2.26
[#000] sha256:39ad020c297459aff9281e5c635286218011e335f3460834ae8397a771bfec55 - 5.8% (2.96 MB)
[#001] sha256:8e58a80555964d79b4c54d0bc69d1ac3c99d92bfa41dc077ad9039581c976fe1 - 5.85% (2.98 MB)
[#002] sha256:30daf13605f2d1179f6005fb32926b33b8626b9ceb92de019df902d09cedf935 - 0.0% (946 Bytes)
[#003] sha256:f7365fc515397f6962469f3d1c8654b5801822a766158bca2e8a9fa961d78db8 - 0.0% (220 Bytes)
[#004] sha256:56d85628fc505ff529b08ffd69b12a006a1b6b403e1be3b522008acf04350a12 - 22.75% (11.6 MB)
[#005] sha256:e2cc85dbb632b1caf3e6864867d282ae5feebc111efa99913fd39d8fee8e6f9d - 0.0% (490 Bytes)
[#006] sha256:012f82e9a9492584d4b76434d0fd72420c6eb075d2f4309a20786b771bd1c59a - 20.64% (10.5 MB)
[#007] sha256:b86f7bdb8876af50c793a48acfa781d2d8aa915d3aafb0f34d6c4ba98f5dbe08 - 0.0% (2.39 KB)
[#008] sha256:3294f55ad01ae48a8edc1a12451625a04499db7bd32f05e5e9c8b0394f3da67b - 0.04% (19.4 KB)
[#009] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)
[#010] sha256:4639206f78bb01a49dc73e68eaebffcfba53862de79cf1eb435d857f93cb3e48 - 0.02% (8.97 KB)
[#011] sha256:28b2776bd3ca3d1a773c355cff6bf7b73b241cced86a1249d412c7a49ce3f2b8 - 5.16% (2.63 MB)
[#012] sha256:7a65d7d1d7184a545fb406161ebe6866be6041cdd28f1e07a37b5e7877620d40 - 0.0% (320 Bytes)
[#013] sha256:4ade80196b32a0121d16a8797b5537583f18154238c1bdb0381bd563255faef4 - 39.72% (20.2 MB)
[#014] sha256:35efdf2dc334d1df7925f20e6b3d93473235ab839cc848009ad6c8ae07519ab7 - 0.0% (339 Bytes)
[#015] sha256:1ad3c1cf02ba01fdaa3a03312199be335cf53a25e06a3a47b34c6d40335fab03 - 0.0% (824 Bytes)
ADD alpine-minirootfs-3.21.0-armv7.tar.gz / # buildkit
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)CMD ["/bin/sh"]
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)ENV PHPIZE_DEPS=autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c apk add --no-cache ca-certificates curl openssl tar xz # buildkit
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; adduser -u 82 -D -S -G www-data www-data # buildkit
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)ENV PHP_INI_DIR=/usr/local/etc/php
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)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
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)ENV PHP_CFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)ENV PHP_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)ENV PHP_LDFLAGS=-Wl,-O1 -pie
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)ENV GPG_KEYS=39B641343D8C104B2B146DC3F9C39DC0B9698544 E60913E4DF209907D8E30D96659A97C9CF2A795A 1198C0117593497A5EC5C199286AF1F9897469DC
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)ENV PHP_VERSION=8.2.26
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)ENV PHP_URL=https://www.php.net/distributions/php-8.2.26.tar.xz PHP_ASC_URL=https://www.php.net/distributions/php-8.2.26.tar.xz.asc
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)ENV PHP_SHA256=54747400cb4874288ad41a785e6147e2ff546cceeeb55c23c00c771ac125c6ef
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)RUN /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 # buildkit
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)COPY docker-php-source /usr/local/bin/ # buildkit
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)RUN /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 --disable-phpdbg --with-pear $(test "$gnuArch" = 'riscv64-linux-musl' && echo '--without-pcre-jit') --disable-cgi --enable-fpm --with-fpm-user=www-data --with-fpm-group=www-data ; 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 # buildkit
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/ # buildkit
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c docker-php-ext-enable sodium # buildkit
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-php-entrypoint"]
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)WORKDIR /var/www/html
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; cd /usr/local/etc; if [ -d php-fpm.d ]; then sed 's!=NONE/!=!g' php-fpm.conf.default | tee php-fpm.conf > /dev/null; cp php-fpm.d/www.conf.default php-fpm.d/www.conf; else mkdir php-fpm.d; cp php-fpm.conf.default php-fpm.d/www.conf; { echo '[global]'; echo 'include=etc/php-fpm.d/*.conf'; } | tee php-fpm.conf; fi; { echo '[global]'; echo 'error_log = /proc/self/fd/2'; echo; echo '; https://github.com/docker-library/php/pull/725#issuecomment-443540114'; echo 'log_limit = 8192'; echo; echo '[www]'; echo '; php-fpm closes STDOUT on startup, so sending logs to /proc/self/fd/1 does not work.'; echo '; https://bugs.php.net/bug.php?id=73886'; echo 'access.log = /proc/self/fd/2'; echo; echo 'clear_env = no'; echo; echo '; Ensure worker stdout and stderr are sent to the main error log.'; echo 'catch_workers_output = yes'; echo 'decorate_workers_output = no'; } | tee php-fpm.d/docker.conf; { echo '[global]'; echo 'daemonize = no'; echo; echo '[www]'; echo 'listen = 9000'; } | tee php-fpm.d/zz-docker.conf; mkdir -p "$PHP_INI_DIR/conf.d"; { echo '; https://github.com/docker-library/php/issues/878#issuecomment-938595965'; echo 'fastcgi.logging = Off'; } > "$PHP_INI_DIR/conf.d/docker-fpm.ini" # buildkit
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)STOPSIGNAL SIGQUIT
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)EXPOSE map[9000/tcp:{}]
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)CMD ["php-fpm"]
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)ENV PHP_MEMORY_LIMIT=256M
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -ex; apk add --no-cache --virtual .build-deps $PHPIZE_DEPS autoconf freetype-dev icu-dev libjpeg-turbo-dev libpng-dev libzip-dev openldap-dev pcre-dev procps ; docker-php-ext-configure gd --with-freetype --with-jpeg; docker-php-ext-configure ldap; docker-php-ext-install -j "$(nproc)" gd bcmath ldap mysqli opcache pdo_mysql zip ; pecl install APCu-5.1.24; pecl install redis-6.0.2; docker-php-ext-enable apcu redis ; rm -r /tmp/pear; runDeps="$( scanelf --needed --nobanner --format '%n#p' --recursive /usr/local/lib/php/extensions | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' )"; apk add --no-network --virtual .matomo-phpext-rundeps $runDeps; apk del --no-network .build-deps # buildkit
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c { echo 'opcache.memory_consumption=128'; echo 'opcache.interned_strings_buffer=8'; echo 'opcache.max_accelerated_files=4000'; echo 'opcache.revalidate_freq=2'; echo 'opcache.fast_shutdown=1'; } > /usr/local/etc/php/conf.d/opcache-recommended.ini # buildkit
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)ENV MATOMO_VERSION=5.1.2
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -ex; apk add --no-cache --virtual .fetch-deps gnupg ; curl -fsSL -o matomo.tar.gz "https://builds.matomo.org/matomo-${MATOMO_VERSION}.tar.gz"; curl -fsSL -o matomo.tar.gz.asc "https://builds.matomo.org/matomo-${MATOMO_VERSION}.tar.gz.asc"; export GNUPGHOME="$(mktemp -d)"; gpg --batch --keyserver keyserver.ubuntu.com --recv-keys F529A27008477483777FC23D63BB30D0E5D2C749; gpg --batch --verify matomo.tar.gz.asc matomo.tar.gz; gpgconf --kill all; rm -rf "$GNUPGHOME" matomo.tar.gz.asc; tar -xzf matomo.tar.gz -C /usr/src/; rm matomo.tar.gz; apk del .fetch-deps # buildkit
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)COPY php.ini /usr/local/etc/php/conf.d/php-matomo.ini # buildkit
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh /entrypoint.sh # buildkit
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)VOLUME [/var/www/html]
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["/entrypoint.sh"]
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)CMD ["php-fpm"]
2024-09-25 20:44:12 UTC
54.8 MB
39B641343D8C104B2B146DC3F9C39DC0B9698544 E60913E4DF209907D8E30D96659A97C9CF2A795A 1198C0117593497A5EC5C199286AF1F9897469DC
MATOMO_VERSION5.1.2
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PHPIZE_DEPSautoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c
PHP_ASC_URLhttps://www.php.net/distributions/php-8.2.26.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_MEMORY_LIMIT256M
PHP_SHA25654747400cb4874288ad41a785e6147e2ff546cceeeb55c23c00c771ac125c6ef
PHP_URLhttps://www.php.net/distributions/php-8.2.26.tar.xz
PHP_VERSION8.2.26
[#000] sha256:cb8611c9fe5154550f45e284cf977cda4e2b2fee3478552eee31d84be3c95003 - 6.95% (3.81 MB)
[#001] sha256:f02eb691f526c59a4feade4837dd3c26533d9fe4c9306da60dc23a30620af346 - 5.8% (3.18 MB)
[#002] sha256:05f32f7c87db3a6447e39cf371cb0c2bb2c95f7a814793eff967d2a9a3b95122 - 0.0% (947 Bytes)
[#003] sha256:dd7c12be75768edb813fc94e2e1d2c48d7cb1f4cea2c832026ca6ae796dff9ac - 0.0% (222 Bytes)
[#004] sha256:aed5b44065f6e297c75173d3910ec2c38e2050d7fe649ab3f372733ccc21997d - 21.17% (11.6 MB)
[#005] sha256:ffd0d81a377f226e052c5d7d1bb25aa91521d1f7cc6963ee708006c167a218ee - 0.0% (490 Bytes)
[#006] sha256:3f453b5647ed4e21482eeb723f70d24de0544e13f044b2fcf226eac14cca68d8 - 22.57% (12.4 MB)
[#007] sha256:f31bc645a3590847510ee5e0f049773948c95e2e9fb6ef526ff103269da20cbc - 0.0% (2.38 KB)
[#008] sha256:ad30d4134c2044a01cb39da86f7b4b24da4d9038abe55b8d12a24a03d1e8efe8 - 0.03% (19.4 KB)
[#009] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)
[#010] sha256:cfc5ba0ee850f8f9cc92d325d49025a2365619fbe1622c9f2aa517b09be6308a - 0.02% (8.96 KB)
[#011] sha256:3b391f372d2f36f1964e92402fa0f485858cf637bd22238f3f8f053731febf6b - 6.5% (3.56 MB)
[#012] sha256:91e2765ef2b92a36d47682d0b27a229858057b1431cf963e0896bfb5fb44858d - 0.0% (326 Bytes)
[#013] sha256:59b56a97c9ce5c0d28c15f7bfc58ac32c3b6d2ee6c0efbca35fa95c1880c12fe - 36.96% (20.2 MB)
[#014] sha256:479bce4eb667cba5f2c16559de1b031d3d22d9eef9bbc4c58fdff1b84046cf5b - 0.0% (345 Bytes)
[#015] sha256:6ff705a6f5045c4b9ed81316d8122ace819334d5375b0b6543eb812c3e96cb41 - 0.0% (824 Bytes)
ADD alpine-minirootfs-3.21.0-aarch64.tar.gz / # buildkit
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)CMD ["/bin/sh"]
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)ENV PHPIZE_DEPS=autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c apk add --no-cache ca-certificates curl openssl tar xz # buildkit
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; adduser -u 82 -D -S -G www-data www-data # buildkit
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)ENV PHP_INI_DIR=/usr/local/etc/php
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)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
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)ENV PHP_CFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)ENV PHP_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)ENV PHP_LDFLAGS=-Wl,-O1 -pie
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)ENV GPG_KEYS=39B641343D8C104B2B146DC3F9C39DC0B9698544 E60913E4DF209907D8E30D96659A97C9CF2A795A 1198C0117593497A5EC5C199286AF1F9897469DC
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)ENV PHP_VERSION=8.2.26
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)ENV PHP_URL=https://www.php.net/distributions/php-8.2.26.tar.xz PHP_ASC_URL=https://www.php.net/distributions/php-8.2.26.tar.xz.asc
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)ENV PHP_SHA256=54747400cb4874288ad41a785e6147e2ff546cceeeb55c23c00c771ac125c6ef
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)RUN /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 # buildkit
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)COPY docker-php-source /usr/local/bin/ # buildkit
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)RUN /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 --disable-phpdbg --with-pear $(test "$gnuArch" = 'riscv64-linux-musl' && echo '--without-pcre-jit') --disable-cgi --enable-fpm --with-fpm-user=www-data --with-fpm-group=www-data ; 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 # buildkit
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/ # buildkit
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c docker-php-ext-enable sodium # buildkit
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-php-entrypoint"]
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)WORKDIR /var/www/html
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; cd /usr/local/etc; if [ -d php-fpm.d ]; then sed 's!=NONE/!=!g' php-fpm.conf.default | tee php-fpm.conf > /dev/null; cp php-fpm.d/www.conf.default php-fpm.d/www.conf; else mkdir php-fpm.d; cp php-fpm.conf.default php-fpm.d/www.conf; { echo '[global]'; echo 'include=etc/php-fpm.d/*.conf'; } | tee php-fpm.conf; fi; { echo '[global]'; echo 'error_log = /proc/self/fd/2'; echo; echo '; https://github.com/docker-library/php/pull/725#issuecomment-443540114'; echo 'log_limit = 8192'; echo; echo '[www]'; echo '; php-fpm closes STDOUT on startup, so sending logs to /proc/self/fd/1 does not work.'; echo '; https://bugs.php.net/bug.php?id=73886'; echo 'access.log = /proc/self/fd/2'; echo; echo 'clear_env = no'; echo; echo '; Ensure worker stdout and stderr are sent to the main error log.'; echo 'catch_workers_output = yes'; echo 'decorate_workers_output = no'; } | tee php-fpm.d/docker.conf; { echo '[global]'; echo 'daemonize = no'; echo; echo '[www]'; echo 'listen = 9000'; } | tee php-fpm.d/zz-docker.conf; mkdir -p "$PHP_INI_DIR/conf.d"; { echo '; https://github.com/docker-library/php/issues/878#issuecomment-938595965'; echo 'fastcgi.logging = Off'; } > "$PHP_INI_DIR/conf.d/docker-fpm.ini" # buildkit
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)STOPSIGNAL SIGQUIT
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)EXPOSE map[9000/tcp:{}]
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)CMD ["php-fpm"]
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)ENV PHP_MEMORY_LIMIT=256M
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -ex; apk add --no-cache --virtual .build-deps $PHPIZE_DEPS autoconf freetype-dev icu-dev libjpeg-turbo-dev libpng-dev libzip-dev openldap-dev pcre-dev procps ; docker-php-ext-configure gd --with-freetype --with-jpeg; docker-php-ext-configure ldap; docker-php-ext-install -j "$(nproc)" gd bcmath ldap mysqli opcache pdo_mysql zip ; pecl install APCu-5.1.24; pecl install redis-6.0.2; docker-php-ext-enable apcu redis ; rm -r /tmp/pear; runDeps="$( scanelf --needed --nobanner --format '%n#p' --recursive /usr/local/lib/php/extensions | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' )"; apk add --no-network --virtual .matomo-phpext-rundeps $runDeps; apk del --no-network .build-deps # buildkit
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c { echo 'opcache.memory_consumption=128'; echo 'opcache.interned_strings_buffer=8'; echo 'opcache.max_accelerated_files=4000'; echo 'opcache.revalidate_freq=2'; echo 'opcache.fast_shutdown=1'; } > /usr/local/etc/php/conf.d/opcache-recommended.ini # buildkit
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)ENV MATOMO_VERSION=5.1.2
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -ex; apk add --no-cache --virtual .fetch-deps gnupg ; curl -fsSL -o matomo.tar.gz "https://builds.matomo.org/matomo-${MATOMO_VERSION}.tar.gz"; curl -fsSL -o matomo.tar.gz.asc "https://builds.matomo.org/matomo-${MATOMO_VERSION}.tar.gz.asc"; export GNUPGHOME="$(mktemp -d)"; gpg --batch --keyserver keyserver.ubuntu.com --recv-keys F529A27008477483777FC23D63BB30D0E5D2C749; gpg --batch --verify matomo.tar.gz.asc matomo.tar.gz; gpgconf --kill all; rm -rf "$GNUPGHOME" matomo.tar.gz.asc; tar -xzf matomo.tar.gz -C /usr/src/; rm matomo.tar.gz; apk del .fetch-deps # buildkit
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)COPY php.ini /usr/local/etc/php/conf.d/php-matomo.ini # buildkit
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh /entrypoint.sh # buildkit
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)VOLUME [/var/www/html]
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["/entrypoint.sh"]
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)CMD ["php-fpm"]
2024-09-25 20:44:12 UTC
54.5 MB
39B641343D8C104B2B146DC3F9C39DC0B9698544 E60913E4DF209907D8E30D96659A97C9CF2A795A 1198C0117593497A5EC5C199286AF1F9897469DC
MATOMO_VERSION5.1.2
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PHPIZE_DEPSautoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c
PHP_ASC_URLhttps://www.php.net/distributions/php-8.2.26.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_MEMORY_LIMIT256M
PHP_SHA25654747400cb4874288ad41a785e6147e2ff546cceeeb55c23c00c771ac125c6ef
PHP_URLhttps://www.php.net/distributions/php-8.2.26.tar.xz
PHP_VERSION8.2.26
[#000] sha256:a12ff663c50b78339bd273940ba035e29d8220954846a4c35a5f79080b37a3d3 - 6.25% (3.41 MB)
[#001] sha256:62dab8c9093e7207bf34d7e27bcaf8a12d512bc9a6228a188ccd032ab556c048 - 6.07% (3.31 MB)
[#002] sha256:6887eff0819f1e81cf0537030ec0eefbed710884b4bdcb74a53300dafe99af22 - 0.0% (945 Bytes)
[#003] sha256:a40d10c33dd4ddf3d7039e24ae3ea2657811b8add42853a37557baa89339c584 - 0.0% (217 Bytes)
[#004] sha256:5367085ac9608cfd996c39bb7adc28b2e7c20a16343b89e962fbbed2de5e574b - 21.26% (11.6 MB)
[#005] sha256:afc676ea70f915f4899a80af1c9e4681d1f9a8ff6d54fda8b66eeac4f472df17 - 0.0% (491 Bytes)
[#006] sha256:3ebf3211ea54b66cfb20d8ed96bf7cf6b99f9a1534d22592ff94591fefbf40db - 23.5% (12.8 MB)
[#007] sha256:b2d6a67fdb5a5c9671d4bff4aabe440754867264bfe12963d49d34d465445e6b - 0.0% (2.39 KB)
[#008] sha256:0b4e2bfb92f5f44bd5860093fdea71e2259aed63213c5bb4ace2966a99e1b350 - 0.03% (19.4 KB)
[#009] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)
[#010] sha256:561c64ad5430307100f1e42e05efe8c5e51ebbd5d3786d7320837657fe0dfe14 - 0.02% (8.97 KB)
[#011] sha256:aeea5412dca2a997331826f044a232920a1820a4e0b06b8f80646d9579fd8793 - 5.73% (3.13 MB)
[#012] sha256:901fd8899135fbba6ae704cb0f5e31df1cf353614436e0befb9fdcb9ebc8bd1d - 0.0% (326 Bytes)
[#013] sha256:bfccb257bccd2eb9c0da540c2c45753ef63259af874311c752a7dab4d3380853 - 37.12% (20.2 MB)
[#014] sha256:36829feab3a5e60d232a0e0422247a667ad5086eb767c71c7499a8976f3477d5 - 0.0% (343 Bytes)
[#015] sha256:7dd4c2443542efe6d7e2ce1ac5895aab0ad6f8dec6c9e1685ce9d1adfe8f8751 - 0.0% (824 Bytes)
ADD alpine-minirootfs-3.21.0-ppc64le.tar.gz / # buildkit
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)CMD ["/bin/sh"]
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)ENV PHPIZE_DEPS=autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c apk add --no-cache ca-certificates curl openssl tar xz # buildkit
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; adduser -u 82 -D -S -G www-data www-data # buildkit
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)ENV PHP_INI_DIR=/usr/local/etc/php
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)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
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)ENV PHP_CFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)ENV PHP_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)ENV PHP_LDFLAGS=-Wl,-O1 -pie
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)ENV GPG_KEYS=39B641343D8C104B2B146DC3F9C39DC0B9698544 E60913E4DF209907D8E30D96659A97C9CF2A795A 1198C0117593497A5EC5C199286AF1F9897469DC
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)ENV PHP_VERSION=8.2.26
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)ENV PHP_URL=https://www.php.net/distributions/php-8.2.26.tar.xz PHP_ASC_URL=https://www.php.net/distributions/php-8.2.26.tar.xz.asc
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)ENV PHP_SHA256=54747400cb4874288ad41a785e6147e2ff546cceeeb55c23c00c771ac125c6ef
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)RUN /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 # buildkit
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)COPY docker-php-source /usr/local/bin/ # buildkit
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)RUN /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 --disable-phpdbg --with-pear $(test "$gnuArch" = 'riscv64-linux-musl' && echo '--without-pcre-jit') --disable-cgi --enable-fpm --with-fpm-user=www-data --with-fpm-group=www-data ; 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 # buildkit
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/ # buildkit
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c docker-php-ext-enable sodium # buildkit
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-php-entrypoint"]
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)WORKDIR /var/www/html
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; cd /usr/local/etc; if [ -d php-fpm.d ]; then sed 's!=NONE/!=!g' php-fpm.conf.default | tee php-fpm.conf > /dev/null; cp php-fpm.d/www.conf.default php-fpm.d/www.conf; else mkdir php-fpm.d; cp php-fpm.conf.default php-fpm.d/www.conf; { echo '[global]'; echo 'include=etc/php-fpm.d/*.conf'; } | tee php-fpm.conf; fi; { echo '[global]'; echo 'error_log = /proc/self/fd/2'; echo; echo '; https://github.com/docker-library/php/pull/725#issuecomment-443540114'; echo 'log_limit = 8192'; echo; echo '[www]'; echo '; php-fpm closes STDOUT on startup, so sending logs to /proc/self/fd/1 does not work.'; echo '; https://bugs.php.net/bug.php?id=73886'; echo 'access.log = /proc/self/fd/2'; echo; echo 'clear_env = no'; echo; echo '; Ensure worker stdout and stderr are sent to the main error log.'; echo 'catch_workers_output = yes'; echo 'decorate_workers_output = no'; } | tee php-fpm.d/docker.conf; { echo '[global]'; echo 'daemonize = no'; echo; echo '[www]'; echo 'listen = 9000'; } | tee php-fpm.d/zz-docker.conf; mkdir -p "$PHP_INI_DIR/conf.d"; { echo '; https://github.com/docker-library/php/issues/878#issuecomment-938595965'; echo 'fastcgi.logging = Off'; } > "$PHP_INI_DIR/conf.d/docker-fpm.ini" # buildkit
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)STOPSIGNAL SIGQUIT
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)EXPOSE map[9000/tcp:{}]
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)CMD ["php-fpm"]
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)ENV PHP_MEMORY_LIMIT=256M
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -ex; apk add --no-cache --virtual .build-deps $PHPIZE_DEPS autoconf freetype-dev icu-dev libjpeg-turbo-dev libpng-dev libzip-dev openldap-dev pcre-dev procps ; docker-php-ext-configure gd --with-freetype --with-jpeg; docker-php-ext-configure ldap; docker-php-ext-install -j "$(nproc)" gd bcmath ldap mysqli opcache pdo_mysql zip ; pecl install APCu-5.1.24; pecl install redis-6.0.2; docker-php-ext-enable apcu redis ; rm -r /tmp/pear; runDeps="$( scanelf --needed --nobanner --format '%n#p' --recursive /usr/local/lib/php/extensions | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' )"; apk add --no-network --virtual .matomo-phpext-rundeps $runDeps; apk del --no-network .build-deps # buildkit
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c { echo 'opcache.memory_consumption=128'; echo 'opcache.interned_strings_buffer=8'; echo 'opcache.max_accelerated_files=4000'; echo 'opcache.revalidate_freq=2'; echo 'opcache.fast_shutdown=1'; } > /usr/local/etc/php/conf.d/opcache-recommended.ini # buildkit
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)ENV MATOMO_VERSION=5.1.2
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -ex; apk add --no-cache --virtual .fetch-deps gnupg ; curl -fsSL -o matomo.tar.gz "https://builds.matomo.org/matomo-${MATOMO_VERSION}.tar.gz"; curl -fsSL -o matomo.tar.gz.asc "https://builds.matomo.org/matomo-${MATOMO_VERSION}.tar.gz.asc"; export GNUPGHOME="$(mktemp -d)"; gpg --batch --keyserver keyserver.ubuntu.com --recv-keys F529A27008477483777FC23D63BB30D0E5D2C749; gpg --batch --verify matomo.tar.gz.asc matomo.tar.gz; gpgconf --kill all; rm -rf "$GNUPGHOME" matomo.tar.gz.asc; tar -xzf matomo.tar.gz -C /usr/src/; rm matomo.tar.gz; apk del .fetch-deps # buildkit
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)COPY php.ini /usr/local/etc/php/conf.d/php-matomo.ini # buildkit
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh /entrypoint.sh # buildkit
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)VOLUME [/var/www/html]
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["/entrypoint.sh"]
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)CMD ["php-fpm"]
2024-09-25 20:44:12 UTC
55.2 MB
39B641343D8C104B2B146DC3F9C39DC0B9698544 E60913E4DF209907D8E30D96659A97C9CF2A795A 1198C0117593497A5EC5C199286AF1F9897469DC
MATOMO_VERSION5.1.2
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PHPIZE_DEPSautoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c
PHP_ASC_URLhttps://www.php.net/distributions/php-8.2.26.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_MEMORY_LIMIT256M
PHP_SHA25654747400cb4874288ad41a785e6147e2ff546cceeeb55c23c00c771ac125c6ef
PHP_URLhttps://www.php.net/distributions/php-8.2.26.tar.xz
PHP_VERSION8.2.26
[#000] sha256:ea37667e50ca807fa8abc1caf0d21091cbbe1d66b2c217158fb3e91c2787afaf - 5.83% (3.22 MB)
[#001] sha256:7c8ca85c9d20c6f76d0a8087ac3a4ddd6a1e40652d189dc8dad7ca6b0737c4b0 - 9.3% (5.13 MB)
[#002] sha256:71d2dfe107b4bddcc389bedcee9ca3fc81f02dc0799e313c21f307ddb454b4dc - 0.0% (947 Bytes)
[#003] sha256:6df7310166e795cb48e721a885b92af688db981613ad6597943011293aca738c - 0.0% (220 Bytes)
[#004] sha256:c00461ef25a8da9663dde52238b404adbe095c956efc7ac623b30400c2655143 - 21.02% (11.6 MB)
[#005] sha256:e6ec3f05cf558307401a74ca7a4a86bf53af22a29fa8c331e3cd12951cb83715 - 0.0% (495 Bytes)
[#006] sha256:43a725ab8a7a468dd1d5a8a334a717f6d495bd106ed196403750cc24d84cd0a8 - 21.99% (12.1 MB)
[#007] sha256:9b25bb31da6bf0f478a0e4322f7653b278643d9ad51c0b36487b006ac50b5c8d - 0.0% (2.39 KB)
[#008] sha256:2dff9d8f6c69067c90f019704e9d32c3737d19c4d8ce0dc2e36cc735c2ded007 - 0.03% (19 KB)
[#009] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)
[#010] sha256:e1cc6d6d7ee9bb442383a47df3f3ccd11a7e4659c644b642219a26e054dea34c - 0.02% (8.97 KB)
[#011] sha256:21a06c65fdb2a34f60e0585a783a4573f8a060f2df1ced4a382d23cd21706fad - 5.09% (2.81 MB)
[#012] sha256:0f96809f7ac70a451becf74cf6c6caac859e80b41ac08a6f14a0253a953ebc85 - 0.0% (327 Bytes)
[#013] sha256:ec9df1df02ed4c4ce86b932e1ebe8693cc629d773ce3d8333bfc2dd943a29149 - 36.71% (20.2 MB)
[#014] sha256:c4753640b3267d99477d08ba2062da8e0c5bc45be412a5b538b24af4d63dd7f4 - 0.0% (345 Bytes)
[#015] sha256:4ee54aeaae5ad0b8327c4d87dc332b47db69ab157f5b9bd7e0a9fb3ce8c591ac - 0.0% (823 Bytes)
ADD alpine-minirootfs-3.20.3-riscv64.tar.gz / # buildkit
2024-09-06 12:05:36 UTC (buildkit.dockerfile.v0)CMD ["/bin/sh"]
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)ENV PHPIZE_DEPS=autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c apk add --no-cache ca-certificates curl openssl tar xz # buildkit
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; adduser -u 82 -D -S -G www-data www-data # buildkit
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)ENV PHP_INI_DIR=/usr/local/etc/php
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)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
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)ENV PHP_CFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)ENV PHP_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)ENV PHP_LDFLAGS=-Wl,-O1 -pie
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)ENV GPG_KEYS=39B641343D8C104B2B146DC3F9C39DC0B9698544 E60913E4DF209907D8E30D96659A97C9CF2A795A 1198C0117593497A5EC5C199286AF1F9897469DC
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)ENV PHP_VERSION=8.2.26
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)ENV PHP_URL=https://www.php.net/distributions/php-8.2.26.tar.xz PHP_ASC_URL=https://www.php.net/distributions/php-8.2.26.tar.xz.asc
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)ENV PHP_SHA256=54747400cb4874288ad41a785e6147e2ff546cceeeb55c23c00c771ac125c6ef
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)RUN /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 # buildkit
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)COPY docker-php-source /usr/local/bin/ # buildkit
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)RUN /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 --disable-phpdbg --with-pear $(test "$gnuArch" = 'riscv64-linux-musl' && echo '--without-pcre-jit') --disable-cgi --enable-fpm --with-fpm-user=www-data --with-fpm-group=www-data ; 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 # buildkit
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/ # buildkit
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c docker-php-ext-enable sodium # buildkit
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-php-entrypoint"]
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)WORKDIR /var/www/html
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; cd /usr/local/etc; if [ -d php-fpm.d ]; then sed 's!=NONE/!=!g' php-fpm.conf.default | tee php-fpm.conf > /dev/null; cp php-fpm.d/www.conf.default php-fpm.d/www.conf; else mkdir php-fpm.d; cp php-fpm.conf.default php-fpm.d/www.conf; { echo '[global]'; echo 'include=etc/php-fpm.d/*.conf'; } | tee php-fpm.conf; fi; { echo '[global]'; echo 'error_log = /proc/self/fd/2'; echo; echo '; https://github.com/docker-library/php/pull/725#issuecomment-443540114'; echo 'log_limit = 8192'; echo; echo '[www]'; echo '; php-fpm closes STDOUT on startup, so sending logs to /proc/self/fd/1 does not work.'; echo '; https://bugs.php.net/bug.php?id=73886'; echo 'access.log = /proc/self/fd/2'; echo; echo 'clear_env = no'; echo; echo '; Ensure worker stdout and stderr are sent to the main error log.'; echo 'catch_workers_output = yes'; echo 'decorate_workers_output = no'; } | tee php-fpm.d/docker.conf; { echo '[global]'; echo 'daemonize = no'; echo; echo '[www]'; echo 'listen = 9000'; } | tee php-fpm.d/zz-docker.conf; mkdir -p "$PHP_INI_DIR/conf.d"; { echo '; https://github.com/docker-library/php/issues/878#issuecomment-938595965'; echo 'fastcgi.logging = Off'; } > "$PHP_INI_DIR/conf.d/docker-fpm.ini" # buildkit
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)STOPSIGNAL SIGQUIT
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)EXPOSE map[9000/tcp:{}]
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)CMD ["php-fpm"]
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)ENV PHP_MEMORY_LIMIT=256M
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -ex; apk add --no-cache --virtual .build-deps $PHPIZE_DEPS autoconf freetype-dev icu-dev libjpeg-turbo-dev libpng-dev libzip-dev openldap-dev pcre-dev procps ; docker-php-ext-configure gd --with-freetype --with-jpeg; docker-php-ext-configure ldap; docker-php-ext-install -j "$(nproc)" gd bcmath ldap mysqli opcache pdo_mysql zip ; pecl install APCu-5.1.24; pecl install redis-6.0.2; docker-php-ext-enable apcu redis ; rm -r /tmp/pear; runDeps="$( scanelf --needed --nobanner --format '%n#p' --recursive /usr/local/lib/php/extensions | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' )"; apk add --no-network --virtual .matomo-phpext-rundeps $runDeps; apk del --no-network .build-deps # buildkit
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c { echo 'opcache.memory_consumption=128'; echo 'opcache.interned_strings_buffer=8'; echo 'opcache.max_accelerated_files=4000'; echo 'opcache.revalidate_freq=2'; echo 'opcache.fast_shutdown=1'; } > /usr/local/etc/php/conf.d/opcache-recommended.ini # buildkit
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)ENV MATOMO_VERSION=5.1.2
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -ex; apk add --no-cache --virtual .fetch-deps gnupg ; curl -fsSL -o matomo.tar.gz "https://builds.matomo.org/matomo-${MATOMO_VERSION}.tar.gz"; curl -fsSL -o matomo.tar.gz.asc "https://builds.matomo.org/matomo-${MATOMO_VERSION}.tar.gz.asc"; export GNUPGHOME="$(mktemp -d)"; gpg --batch --keyserver keyserver.ubuntu.com --recv-keys F529A27008477483777FC23D63BB30D0E5D2C749; gpg --batch --verify matomo.tar.gz.asc matomo.tar.gz; gpgconf --kill all; rm -rf "$GNUPGHOME" matomo.tar.gz.asc; tar -xzf matomo.tar.gz -C /usr/src/; rm matomo.tar.gz; apk del .fetch-deps # buildkit
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)COPY php.ini /usr/local/etc/php/conf.d/php-matomo.ini # buildkit
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh /entrypoint.sh # buildkit
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)VOLUME [/var/www/html]
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["/entrypoint.sh"]
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)CMD ["php-fpm"]
2024-09-25 20:44:12 UTC
53.9 MB
39B641343D8C104B2B146DC3F9C39DC0B9698544 E60913E4DF209907D8E30D96659A97C9CF2A795A 1198C0117593497A5EC5C199286AF1F9897469DC
MATOMO_VERSION5.1.2
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PHPIZE_DEPSautoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c
PHP_ASC_URLhttps://www.php.net/distributions/php-8.2.26.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_MEMORY_LIMIT256M
PHP_SHA25654747400cb4874288ad41a785e6147e2ff546cceeeb55c23c00c771ac125c6ef
PHP_URLhttps://www.php.net/distributions/php-8.2.26.tar.xz
PHP_VERSION8.2.26
[#000] sha256:ff43eb924acdd7a1002f16e7eb02fc41d4f0bae5329c5666d70c223b6e44f6a1 - 6.14% (3.31 MB)
[#001] sha256:1f4b02d148e9caeb82d2cf6c286e6c9c576dbce389f6c2cb18910b789ebd4813 - 6.3% (3.4 MB)
[#002] sha256:d561dc5f913bf5ac5c30d9c4d42bdf7aa341b8fba0e0ded0354c6e1aca173438 - 0.0% (945 Bytes)
[#003] sha256:a465f443f2fadb2b0191af2eb2aae7a8ff4e66fef38973f7b9f36688fc1ff5cc - 0.0% (220 Bytes)
[#004] sha256:2674de720f25bb5b71d7f8774a771ac89e8ab99dea3639af9fadc4d1e14dddc7 - 21.51% (11.6 MB)
[#005] sha256:1b9c043f8722fed85877c819d2496791d0286d909d938a3fdee44c1acd6275ba - 0.0% (489 Bytes)
[#006] sha256:c803f4ef265aef670fd6601d7134889b3fc80b59c865452fc4533f70a76d1aa0 - 22.87% (12.3 MB)
[#007] sha256:cc2fec91788a4e4d2f9c3375e62ace6119c1aae1080c9652499d938ea4596847 - 0.0% (2.39 KB)
[#008] sha256:c4a9415870aed7f5ce4b985d52a9e0618013917620a911f6b424282c05aa8cca - 0.04% (19.4 KB)
[#009] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)
[#010] sha256:6314a372a9430338cde887b97392fd623cd6e42c89cc9779e87d225484f33b99 - 0.02% (8.96 KB)
[#011] sha256:f6598b88b570dee8c62103b3778a314224aa8eb2044b6e8353a703fd1b1ae2a5 - 5.56% (3 MB)
[#012] sha256:2541c19dd68b872f75035e8a3243668e20670a4751c9c0b07b336b5a9b7a0b4e - 0.0% (325 Bytes)
[#013] sha256:efb3dcbdf0b111f33a9b98eafc868c55aa15441b31a3d15b081b5ddcd2394131 - 37.56% (20.2 MB)
[#014] sha256:bcff4f51279e0e13057b9f843113584cd424a7d4def4e6baa873ce7359e029e8 - 0.0% (340 Bytes)
[#015] sha256:dbcb11f5dd8445c807e66be0531b1ea29f4a3536c0fc129ce3fface85827dfe8 - 0.0% (823 Bytes)
ADD alpine-minirootfs-3.21.0-s390x.tar.gz / # buildkit
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)CMD ["/bin/sh"]
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)ENV PHPIZE_DEPS=autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c apk add --no-cache ca-certificates curl openssl tar xz # buildkit
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; adduser -u 82 -D -S -G www-data www-data # buildkit
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)ENV PHP_INI_DIR=/usr/local/etc/php
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)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
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)ENV PHP_CFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)ENV PHP_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)ENV PHP_LDFLAGS=-Wl,-O1 -pie
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)ENV GPG_KEYS=39B641343D8C104B2B146DC3F9C39DC0B9698544 E60913E4DF209907D8E30D96659A97C9CF2A795A 1198C0117593497A5EC5C199286AF1F9897469DC
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)ENV PHP_VERSION=8.2.26
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)ENV PHP_URL=https://www.php.net/distributions/php-8.2.26.tar.xz PHP_ASC_URL=https://www.php.net/distributions/php-8.2.26.tar.xz.asc
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)ENV PHP_SHA256=54747400cb4874288ad41a785e6147e2ff546cceeeb55c23c00c771ac125c6ef
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)RUN /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 # buildkit
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)COPY docker-php-source /usr/local/bin/ # buildkit
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)RUN /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 --disable-phpdbg --with-pear $(test "$gnuArch" = 'riscv64-linux-musl' && echo '--without-pcre-jit') --disable-cgi --enable-fpm --with-fpm-user=www-data --with-fpm-group=www-data ; 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 # buildkit
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/ # buildkit
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c docker-php-ext-enable sodium # buildkit
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-php-entrypoint"]
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)WORKDIR /var/www/html
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; cd /usr/local/etc; if [ -d php-fpm.d ]; then sed 's!=NONE/!=!g' php-fpm.conf.default | tee php-fpm.conf > /dev/null; cp php-fpm.d/www.conf.default php-fpm.d/www.conf; else mkdir php-fpm.d; cp php-fpm.conf.default php-fpm.d/www.conf; { echo '[global]'; echo 'include=etc/php-fpm.d/*.conf'; } | tee php-fpm.conf; fi; { echo '[global]'; echo 'error_log = /proc/self/fd/2'; echo; echo '; https://github.com/docker-library/php/pull/725#issuecomment-443540114'; echo 'log_limit = 8192'; echo; echo '[www]'; echo '; php-fpm closes STDOUT on startup, so sending logs to /proc/self/fd/1 does not work.'; echo '; https://bugs.php.net/bug.php?id=73886'; echo 'access.log = /proc/self/fd/2'; echo; echo 'clear_env = no'; echo; echo '; Ensure worker stdout and stderr are sent to the main error log.'; echo 'catch_workers_output = yes'; echo 'decorate_workers_output = no'; } | tee php-fpm.d/docker.conf; { echo '[global]'; echo 'daemonize = no'; echo; echo '[www]'; echo 'listen = 9000'; } | tee php-fpm.d/zz-docker.conf; mkdir -p "$PHP_INI_DIR/conf.d"; { echo '; https://github.com/docker-library/php/issues/878#issuecomment-938595965'; echo 'fastcgi.logging = Off'; } > "$PHP_INI_DIR/conf.d/docker-fpm.ini" # buildkit
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)STOPSIGNAL SIGQUIT
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)EXPOSE map[9000/tcp:{}]
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)CMD ["php-fpm"]
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)ENV PHP_MEMORY_LIMIT=256M
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -ex; apk add --no-cache --virtual .build-deps $PHPIZE_DEPS autoconf freetype-dev icu-dev libjpeg-turbo-dev libpng-dev libzip-dev openldap-dev pcre-dev procps ; docker-php-ext-configure gd --with-freetype --with-jpeg; docker-php-ext-configure ldap; docker-php-ext-install -j "$(nproc)" gd bcmath ldap mysqli opcache pdo_mysql zip ; pecl install APCu-5.1.24; pecl install redis-6.0.2; docker-php-ext-enable apcu redis ; rm -r /tmp/pear; runDeps="$( scanelf --needed --nobanner --format '%n#p' --recursive /usr/local/lib/php/extensions | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' )"; apk add --no-network --virtual .matomo-phpext-rundeps $runDeps; apk del --no-network .build-deps # buildkit
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c { echo 'opcache.memory_consumption=128'; echo 'opcache.interned_strings_buffer=8'; echo 'opcache.max_accelerated_files=4000'; echo 'opcache.revalidate_freq=2'; echo 'opcache.fast_shutdown=1'; } > /usr/local/etc/php/conf.d/opcache-recommended.ini # buildkit
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)ENV MATOMO_VERSION=5.1.2
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -ex; apk add --no-cache --virtual .fetch-deps gnupg ; curl -fsSL -o matomo.tar.gz "https://builds.matomo.org/matomo-${MATOMO_VERSION}.tar.gz"; curl -fsSL -o matomo.tar.gz.asc "https://builds.matomo.org/matomo-${MATOMO_VERSION}.tar.gz.asc"; export GNUPGHOME="$(mktemp -d)"; gpg --batch --keyserver keyserver.ubuntu.com --recv-keys F529A27008477483777FC23D63BB30D0E5D2C749; gpg --batch --verify matomo.tar.gz.asc matomo.tar.gz; gpgconf --kill all; rm -rf "$GNUPGHOME" matomo.tar.gz.asc; tar -xzf matomo.tar.gz -C /usr/src/; rm matomo.tar.gz; apk del .fetch-deps # buildkit
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)COPY php.ini /usr/local/etc/php/conf.d/php-matomo.ini # buildkit
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh /entrypoint.sh # buildkit
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)VOLUME [/var/www/html]
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["/entrypoint.sh"]
2024-09-25 20:44:12 UTC (buildkit.dockerfile.v0)CMD ["php-fpm"]
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.