2025-03-30 18:03:35 UTC
142 MB
/etc/apache2
APACHE_ENVVARS/etc/apache2/envvars
GPG_KEYSA917B1ECDA84AEC2B568FED6F50ABC807BD5DCD0 528995BFEDFBA7191D46839EF9BA0ADA31CBD89E 1729F83938DA44E27BA0F4D3DBDB397470D12172
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PHPIZE_DEPSautoconf dpkg-dev file g++ gcc libc-dev make pkg-config re2c
PHP_ASC_URLhttps://www.php.net/get/php-7.1.33.tar.xz.asc/from/this/mirror
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_EXTRA_BUILD_DEPSapache2-dev
PHP_EXTRA_CONFIGURE_ARGS--with-apxs2 --disable-cgi
PHP_INI_DIR/usr/local/etc/php
PHP_LDFLAGS-Wl,-O1 -Wl,--hash-style=both -pie
PHP_MD5 PHP_SHA256bd7c0a9bd5433289ee01fd440af3715309faf583f75832b64fe169c100d52968
PHP_URLhttps://www.php.net/get/php-7.1.33.tar.xz/from/this/mirror
PHP_VERSION7.1.33
[#000] sha256:000eee12ec04cc914bf96e8f5dee7767510c2aca3816af6078bd9fbe3150920c - 18.19% (25.8 MB)
[#001] sha256:8ae4f9fcfeea62b9197d4d4597ac8cc5345bd9da718e89a49509af78476d2e40 - 0.0% (226 Bytes)
[#002] sha256:60f22fbbd07a4ea653467bc27962a5f8afccd9318c8f5c8b3b2afa58d8c9c2db - 51.46% (73.1 MB)
[#003] sha256:ccc7a63ad75ffb773427b460e6f531cca45c92111ba8bb214172a53e5e7ceba2 - 0.0% (224 Bytes)
[#004] sha256:a2427b8dd6e72b90d85f0e543ad1fcf471b7eb3d164ce0481b977323e6cf61d3 - 12.54% (17.8 MB)
[#005] sha256:91cac3b30184c5bb16912132a60d627de3cdfd089e40331aed9beb3bf7ae5303 - 0.0% (429 Bytes)
[#006] sha256:d6e40015fc102e70720aea18a61991f1ebc600c4646b5622558c49a4d74166ae - 0.0% (484 Bytes)
[#007] sha256:54695fdb10a725b6bccb0ce6d54c677c64f97f296e1bfa4dae883a264491dbd9 - 8.53% (12.1 MB)
[#008] sha256:500ca11be45fbc9e5136a3bf94561be4a89c08897a0eca0dfe058432ea798fc0 - 0.0% (492 Bytes)
[#009] sha256:86b2805859cff8a91f471267a71e24de74994e3f6201d88ff64d77f07b1227a1 - 8.6% (12.2 MB)
[#010] sha256:c61685fa4f4f0aaae0d11ad60af9bc4ba90e170b51e3ab6f70e5a637d3f429d6 - 0.0% (2.17 KB)
[#011] sha256:0bf989f9dbbb72db9b0006970a86b1fdd2f1610ef9b79674ce5fa6cd64180123 - 0.0% (212 Bytes)
[#012] sha256:01848ea209b526414bdc69c038ed8d867e7af64082f7a468a2d7d7cec7675fd6 - 0.0% (894 Bytes)
[#013] sha256:eb8227a78a8f61d12ba166f11a78ac629dc5cc78082b244a7161b48d92d54159 - 0.67% (979 KB)
[#014] sha256:d46abb1aa1ec71cc4d78db44c1c582e4241030f052138f9db08ce282bdb4295a - 0.0% (531 Bytes)
/bin/sh -c #(nop) ADD file:bc8179c87c8dbb3d962bed1801f99e7c860ff03797cde6ad19b107d43b973ada in /
2019-11-22 14:55:10 UTC/bin/sh -c #(nop) CMD ["bash"]
2019-11-22 15:46:31 UTC/bin/sh -c set -eux; { echo 'Package: php*'; echo 'Pin: release *'; echo 'Pin-Priority: -1'; } > /etc/apt/preferences.d/no-debian-php
2019-11-22 15:46:31 UTC/bin/sh -c #(nop) ENV PHPIZE_DEPS=autoconf dpkg-dev file g++ gcc libc-dev make pkg-config re2c
2019-11-22 15:46:59 UTC/bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends $PHPIZE_DEPS ca-certificates curl xz-utils ; rm -rf /var/lib/apt/lists/*
2019-11-22 15:47:00 UTC/bin/sh -c #(nop) ENV PHP_INI_DIR=/usr/local/etc/php
2019-11-22 15:47:01 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 777 /var/www/html
2019-11-22 15:56:05 UTC/bin/sh -c #(nop) ENV APACHE_CONFDIR=/etc/apache2
2019-11-22 15:56:05 UTC/bin/sh -c #(nop) ENV APACHE_ENVVARS=/etc/apache2/envvars
2019-11-22 15:56:16 UTC/bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends apache2; rm -rf /var/lib/apt/lists/*; sed -ri 's/^export ([^=]+)=(.*)$/: ${\1:=\2}\nexport \1/' "$APACHE_ENVVARS"; . "$APACHE_ENVVARS"; for dir in "$APACHE_LOCK_DIR" "$APACHE_RUN_DIR" "$APACHE_LOG_DIR" ; do rm -rvf "$dir"; mkdir -p "$dir"; chown "$APACHE_RUN_USER:$APACHE_RUN_GROUP" "$dir"; chmod 777 "$dir"; done; rm -rvf /var/www/html/*; ln -sfT /dev/stderr "$APACHE_LOG_DIR/error.log"; ln -sfT /dev/stdout "$APACHE_LOG_DIR/access.log"; ln -sfT /dev/stdout "$APACHE_LOG_DIR/other_vhosts_access.log"; chown -R --no-dereference "$APACHE_RUN_USER:$APACHE_RUN_GROUP" "$APACHE_LOG_DIR"
2019-11-22 15:56:17 UTC/bin/sh -c a2dismod mpm_event && a2enmod mpm_prefork
2019-11-22 15:56:17 UTC/bin/sh -c { echo '<FilesMatch \.php$>'; echo '\tSetHandler application/x-httpd-php'; echo '</FilesMatch>'; echo; echo 'DirectoryIndex disabled'; echo 'DirectoryIndex index.php index.html'; echo; echo '<Directory /var/www/>'; echo '\tOptions -Indexes'; echo '\tAllowOverride All'; echo '</Directory>'; } | tee "$APACHE_CONFDIR/conf-available/docker-php.conf" && a2enconf docker-php
2019-11-22 15:56:17 UTC/bin/sh -c #(nop) ENV PHP_EXTRA_BUILD_DEPS=apache2-dev
2019-11-22 15:56:18 UTC/bin/sh -c #(nop) ENV PHP_EXTRA_CONFIGURE_ARGS=--with-apxs2 --disable-cgi
2019-11-22 15:56:18 UTC/bin/sh -c #(nop) ENV PHP_CFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
2019-11-22 15:56:18 UTC/bin/sh -c #(nop) ENV PHP_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
2019-11-22 15:56:18 UTC/bin/sh -c #(nop) ENV PHP_LDFLAGS=-Wl,-O1 -Wl,--hash-style=both -pie
2019-11-22 18:23:44 UTC/bin/sh -c #(nop) ENV GPG_KEYS=A917B1ECDA84AEC2B568FED6F50ABC807BD5DCD0 528995BFEDFBA7191D46839EF9BA0ADA31CBD89E 1729F83938DA44E27BA0F4D3DBDB397470D12172
2019-11-22 18:23:44 UTC/bin/sh -c #(nop) ENV PHP_VERSION=7.1.33
2019-11-22 18:23:44 UTC/bin/sh -c #(nop) ENV PHP_URL=https://www.php.net/get/php-7.1.33.tar.xz/from/this/mirror PHP_ASC_URL=https://www.php.net/get/php-7.1.33.tar.xz.asc/from/this/mirror
2019-11-22 18:23:45 UTC/bin/sh -c #(nop) ENV PHP_SHA256=bd7c0a9bd5433289ee01fd440af3715309faf583f75832b64fe169c100d52968 PHP_MD5=
2019-11-22 18:23:57 UTC/bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends gnupg dirmngr; rm -rf /var/lib/apt/lists/*; 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_MD5" ]; then echo "$PHP_MD5 *php.tar.xz" | md5sum -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 ha.pool.sks-keyservers.net --recv-keys "$key"; done; gpg --batch --verify php.tar.xz.asc php.tar.xz; gpgconf --kill all; rm -rf "$GNUPGHOME"; fi; apt-mark auto '.*' > /dev/null; apt-mark manual $savedAptMark > /dev/null; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false
2019-11-22 18:23:58 UTC/bin/sh -c #(nop) COPY file:ce57c04b70896f77cc11eb2766417d8a1240fcffe5bba92179ec78c458844110 in /usr/local/bin/
2019-11-22 18:29:10 UTC/bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends libcurl4-openssl-dev libedit-dev libsqlite3-dev libssl-dev libxml2-dev zlib1g-dev ${PHP_EXTRA_BUILD_DEPS:-} ; rm -rf /var/lib/apt/lists/*; export CFLAGS="$PHP_CFLAGS" CPPFLAGS="$PHP_CPPFLAGS" LDFLAGS="$PHP_LDFLAGS" ; docker-php-source extract; cd /usr/src/php; gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; debMultiarch="$(dpkg-architecture --query DEB_BUILD_MULTIARCH)"; if [ ! -d /usr/include/curl ]; then ln -sT "/usr/include/$debMultiarch/curl" /usr/local/include/curl; fi; ./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 --enable-ftp --enable-mbstring --enable-mysqlnd --with-pdo-sqlite=/usr --with-sqlite3=/usr --with-curl --with-libedit --with-openssl --with-zlib $(test "$gnuArch" = 's390x-linux-gnu' && echo '--without-pcre-jit') --with-libdir="lib/$debMultiarch" ${PHP_EXTRA_CONFIGURE_ARGS:-} ; make -j "$(nproc)"; find -type f -name '*.a' -delete; make install; find /usr/local/bin /usr/local/sbin -type f -executable -exec strip --strip-all '{}' + || true; make clean; cp -v php.ini-* "$PHP_INI_DIR/"; cd /; docker-php-source delete; apt-mark auto '.*' > /dev/null; [ -z "$savedAptMark" ] || apt-mark manual $savedAptMark; find /usr/local -type f -executable -exec ldd '{}' ';' | awk '/=>/ { print $(NF-1) }' | sort -u | xargs -r dpkg-query --search | cut -d: -f1 | sort -u | xargs -r apt-mark manual ; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; pecl update-channels; rm -rf /tmp/pear ~/.pearrc; php --version
2019-11-22 18:29:10 UTC/bin/sh -c #(nop) COPY multi:99e4ad617c6193834e78d12470f6dde09f70f4d40463009c5724954902e60676 in /usr/local/bin/
2019-11-22 18:29:11 UTC/bin/sh -c { echo '#!/bin/sh'; echo 'exec pkg-config "$@" freetype2'; } > /usr/local/bin/freetype-config && chmod +x /usr/local/bin/freetype-config
2019-11-22 18:29:11 UTC/bin/sh -c #(nop) ENTRYPOINT ["docker-php-entrypoint"]
2019-11-28 21:10:24 UTC/bin/sh -c #(nop) STOPSIGNAL SIGWINCH
2019-11-28 21:10:24 UTC/bin/sh -c #(nop) COPY file:e3123fcb6566efa979f945bfac1c94c854a559d7b82723e42118882a8ac4de66 in /usr/local/bin/
2019-11-28 21:10:24 UTC/bin/sh -c #(nop) WORKDIR /var/www/html
2019-11-28 21:10:25 UTC/bin/sh -c #(nop) EXPOSE 80
2019-11-28 21:10:25 UTC/bin/sh -c #(nop) CMD ["apache2-foreground"]
2025-03-30 16:24:05 UTC (buildkit.dockerfile.v0)LABEL maintainer=phithon <root@leavesongs.com>
2025-03-30 16:24:05 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -ex && pecl install xdebug-2.5.5 && docker-php-ext-enable xdebug # buildkit
2025-03-30 18:03:35 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -ex && { echo "xdebug.remote_enable = 1"; echo "xdebug.remote_connect_back = 1"; echo "xdebug.remote_log = /tmp/xdebug.log"; } >> /usr/local/etc/php/conf.d/xdebug.ini && echo "date.timezone = \"UTC\"" >> /usr/local/etc/php/conf.d/timezone.ini && a2enmod rewrite # buildkit
2025-03-30 18:03:35 UTC (buildkit.dockerfile.v0)EXPOSE map[80/tcp:{}]
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.