2023-09-19 16:44:39 +0200
201 MB
1729F83938DA44E27BA0F4D3DBDB397470D12172 BFDDD28642824F8118EF77909B67A5C12229118F 2C16C765DBE54A088130F1BC4B9B5F600B55F3B4 39B641343D8C104B2B146DC3F9C39DC0B9698544
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/distributions/php-8.0.30.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_SHA256216ab305737a5d392107112d618a755dc5df42058226f1670e9db90e77d777d9
PHP_URLhttps://www.php.net/distributions/php-8.0.30.tar.xz
PHP_VERSION8.0.30
[#000] sha256:7d97e254a0461b0a30b3f443f1daa0d620a3cc6ff4e2714cc1cfd96ace5b7a7e - 14.88% (30 MB)
[#001] sha256:3c922bf9f92d13038a122a2bbf23132b5031bc16c2f89201710690573d5f13b9 - 0.0% (225 Bytes)
[#002] sha256:f00ab166ae05f0957fbd191f2796558c3a7882f2fd27c4748452468c9230a8bc - 43.39% (87.4 MB)
[#003] sha256:77443d03e1f5d38e50de1907169309b71b0bce1263628c8d1c8c39cf6e8b0de2 - 0.0% (270 Bytes)
[#004] sha256:88d275c8359210a6e85da081d5899cae94361bcfc4de950b3534c5d65b0becca - 5.28% (10.6 MB)
[#005] sha256:c8a15620385f10b8f7abbe10445171cf067bd833497b9b133db8bac7a5358278 - 0.0% (491 Bytes)
[#006] sha256:b970245da12487fc0b8266eda24a97419cdbd4703aec4ed3e967000dfdca5bd1 - 12.3% (24.8 MB)
[#007] sha256:b2d77af25013ef84f96821e9c69cc555dc681b4d04fe38dff9728c64bffd7f01 - 0.0% (2.39 KB)
[#008] sha256:025e9137613a27129d15a01fb921bc7e3fe29011e994fd1f93f862dd072a690a - 0.0% (244 Bytes)
[#009] sha256:de76e95cefef41a1d63e307d92fafc58d61f40d914e4940cd715837f8ce3b385 - 0.0% (8.51 KB)
[#010] sha256:12cd37dd29624334f8f19bf9f8885123359736fab512037e38df9d31e23a338f - 12.45% (25.1 MB)
[#011] sha256:9ebfb44892493266efd996bcfe236d31dffcab9c9e4e8da2b84909fdcf12b185 - 11.7% (23.6 MB)
[#012] sha256:56209cbe467923df609e37e74e0783ae066db2195582c08b00db07fc63b32ae4 - 0.0% (325 Bytes)
[#013] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)
[#014] sha256:a70555b6b4c2836d2d2e88847c2451921b8b75ff329ed4dbefd32817b8d2c994 - 0.0% (175 Bytes)
[#015] sha256:13a9db50f71118ed1e6d2eda40f7607b58cf9bf562c9ecb8e89a7208c6e1544c - 0.0% (194 Bytes)
/bin/sh -c #(nop) ADD file:cb5fcc80c057b356a31492a20c6e3a75b70ed70a663506c8e97ad730ae32a02d in /
2023-09-07 00:21:13 UTC/bin/sh -c #(nop) CMD ["bash"]
2023-09-07 05:40:33 UTC/bin/sh -c set -eux; { echo 'Package: php*'; echo 'Pin: release *'; echo 'Pin-Priority: -1'; } > /etc/apt/preferences.d/no-debian-php
2023-09-07 05:40:33 UTC/bin/sh -c #(nop) ENV PHPIZE_DEPS=autoconf dpkg-dev file g++ gcc libc-dev make pkg-config re2c
2023-09-07 05:40:53 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/*
2023-09-07 05:40:54 UTC/bin/sh -c #(nop) ENV PHP_INI_DIR=/usr/local/etc/php
2023-09-07 05:40:54 UTC/bin/sh -c set -eux; mkdir -p "$PHP_INI_DIR/conf.d"; [ ! -d /var/www/html ]; mkdir -p /var/www/html; chown www-data:www-data /var/www/html; chmod 1777 /var/www/html
2023-09-07 05:40:54 UTC/bin/sh -c #(nop) ENV PHP_CFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
2023-09-07 05:40:54 UTC/bin/sh -c #(nop) ENV PHP_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
2023-09-07 05:40:54 UTC/bin/sh -c #(nop) ENV PHP_LDFLAGS=-Wl,-O1 -pie
2023-09-07 06:51:35 UTC/bin/sh -c #(nop) ENV GPG_KEYS=1729F83938DA44E27BA0F4D3DBDB397470D12172 BFDDD28642824F8118EF77909B67A5C12229118F 2C16C765DBE54A088130F1BC4B9B5F600B55F3B4 39B641343D8C104B2B146DC3F9C39DC0B9698544
2023-09-07 06:51:35 UTC/bin/sh -c #(nop) ENV PHP_VERSION=8.0.30
2023-09-07 06:51:35 UTC/bin/sh -c #(nop) ENV PHP_URL=https://www.php.net/distributions/php-8.0.30.tar.xz PHP_ASC_URL=https://www.php.net/distributions/php-8.0.30.tar.xz.asc
2023-09-07 06:51:35 UTC/bin/sh -c #(nop) ENV PHP_SHA256=216ab305737a5d392107112d618a755dc5df42058226f1670e9db90e77d777d9
2023-09-07 06:51:47 UTC/bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends gnupg; 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_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; apt-mark auto '.*' > /dev/null; apt-mark manual $savedAptMark > /dev/null; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false
2023-09-07 06:51:47 UTC/bin/sh -c #(nop) COPY file:ce57c04b70896f77cc11eb2766417d8a1240fcffe5bba92179ec78c458844110 in /usr/local/bin/
2023-09-07 07:01:16 UTC/bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends libargon2-dev libcurl4-openssl-dev libonig-dev libreadline-dev libsodium-dev libsqlite3-dev libssl-dev libxml2-dev zlib1g-dev ; export CFLAGS="$PHP_CFLAGS" CPPFLAGS="$PHP_CPPFLAGS" LDFLAGS="$PHP_LDFLAGS" ; 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 --with-pic --enable-ftp --enable-mbstring --enable-mysqlnd --with-password-argon2 --with-sodium=shared --with-pdo-sqlite=/usr --with-sqlite3=/usr --with-curl --with-iconv --with-openssl --with-readline --with-zlib --disable-phpdbg --with-pear $(test "$gnuArch" = 's390x-linux-gnu' && echo '--without-pcre-jit') --with-libdir="lib/$debMultiarch" --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; apt-mark auto '.*' > /dev/null; [ -z "$savedAptMark" ] || apt-mark manual $savedAptMark; find /usr/local -type f -executable -exec ldd '{}' ';' | awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); print so }' | 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; rm -rf /var/lib/apt/lists/*; pecl update-channels; rm -rf /tmp/pear ~/.pearrc; php --version
2023-09-07 07:01:16 UTC/bin/sh -c #(nop) COPY multi:869bde9dbeae74886a05c9e2107b3e3b4877116db8c6d9adbaff2719f9fb5262 in /usr/local/bin/
2023-09-07 07:01:17 UTC/bin/sh -c docker-php-ext-enable sodium
2023-09-07 07:01:17 UTC/bin/sh -c #(nop) ENTRYPOINT ["docker-php-entrypoint"]
2023-09-07 07:01:17 UTC/bin/sh -c #(nop) WORKDIR /var/www/html
2023-09-07 07:01:17 UTC/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"
2023-09-07 07:01:18 UTC/bin/sh -c #(nop) STOPSIGNAL SIGQUIT
2023-09-07 07:01:18 UTC/bin/sh -c #(nop) EXPOSE 9000
2023-09-07 07:01:18 UTC/bin/sh -c #(nop) CMD ["php-fpm"]
2023-09-19 16:44:39 +0200 (buildkit.dockerfile.v0)RUN /bin/sh -c apt-get update && apt-get install -y nginx # buildkit
2023-09-19 16:44:39 +0200 (buildkit.dockerfile.v0)COPY devops-training-php-8 /var/www/html/devops-training-php-8/ # buildkit
2023-09-19 16:44:39 +0200 (buildkit.dockerfile.v0)COPY default /etc/nginx/sites-available/default # buildkit
2023-09-19 16:44:39 +0200 (buildkit.dockerfile.v0)WORKDIR /var/www/html
2023-09-19 16:44:39 +0200 (buildkit.dockerfile.v0)EXPOSE map[81/tcp:{}]
2023-09-19 16:44:39 +0200 (buildkit.dockerfile.v0)COPY start.sh /root/start.sh # buildkit
2023-09-19 16:44:39 +0200 (buildkit.dockerfile.v0)RUN /bin/sh -c chmod +x /root/start.sh # buildkit
2023-09-19 16:44:39 +0200 (buildkit.dockerfile.v0)ENTRYPOINT ["/bin/sh" "-c" "/root/start.sh"]