Namespace
ezra
Image / Tag
php7-nginx-src_code:latest
Content Digest
sha256:9d6fc79bcca0a99003acdd4df41db34501fc00b0d2490d7ee63d0c1e9ab1e73e
Pull command
Details
Created

2023-09-19 16:34:09 +0200

Size

177 MB

Content Digest
Environment
GPG_KEYS

42670A7FE4D0441C8E4632349E4FDC074A4EF02D 5A52880781F755608BF815FC910DEB46F53EA312

PATH

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

PHPIZE_DEPS

autoconf dpkg-dev file g++ gcc libc-dev make pkg-config re2c

PHP_ASC_URL

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

PHP_CFLAGS

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

PHP_CPPFLAGS

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

PHP_INI_DIR

/usr/local/etc/php

PHP_LDFLAGS

-Wl,-O1 -pie

PHP_SHA256

924846abf93bc613815c55dd3f5809377813ac62a9ec4eb3778675b82a27b927

PHP_URL

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

PHP_VERSION

7.4.33


Layers

[#000] sha256:a603fa5e3b4127f210503aaa6189abf6286ee5a73deeaab460f8f33ebc6b64e2 - 16.93% (30 MB)

[#001] sha256:c428f1a494230852524a2a5957cc5199c36c8b403305e0e877d580bd0ec9e763 - 0.0% (226 Bytes)

[#002] sha256:156740b07ef8a632f9f7bea4e57e4ee5541ade376adf9169351a1265382e39de - 49.39% (87.4 MB)

[#003] sha256:fb5a4c8af82f00730b7427e47bda7f76cea2e2b9aea421750bc9025aface98d8 - 0.0% (270 Bytes)

[#004] sha256:972155ae644b037435eddf206152975f6fd3eaeb1ddeb632709f9c4f9b2bb180 - 5.79% (10.2 MB)

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

[#006] sha256:93346a3f46bcefa9de4ea57b9043f0b79042a32652169f8306529cde0d9bee96 - 13.69% (24.2 MB)

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

[#008] sha256:6137f893bda625dc11ea72d9c226f43b358e49cd9284c6cb129e3f1369e61d5e - 0.0% (246 Bytes)

[#009] sha256:79b1a1b78461157a10b5103e206874c1417e79236e89515ad8411dc5b3839a85 - 0.0% (8.25 KB)

[#010] sha256:e7070c4e6dc0690499226810858f51a3eb086b485d864846ca967d3603b596af - 14.17% (25.1 MB)

[#011] sha256:4dad4636e57064b4f4e898ec4fdcaf616c9e493e6e6462e9accaf88479ef57c8 - 0.02% (38.9 KB)

[#012] sha256:1952987b2eef3285d19b11d8b1a95975fa95324f51647feca7ecdf4ef858b408 - 0.0% (328 Bytes)

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

[#014] sha256:fdbdda5256fa5924b25372e78220e8113103f1f9862b16e757b040b9b2e80d1e - 0.0% (175 Bytes)

[#015] sha256:21a0f1a04307402635f3383707c7126eb65fd9570f84765f3e9587dee45eae59 - 0.0% (193 Bytes)


History
2022-11-15 04:04:54 UTC

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

2022-11-15 04:04:54 UTC

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

2022-11-15 04:12:59 UTC

/bin/sh -c set -eux; { echo 'Package: php*'; echo 'Pin: release *'; echo 'Pin-Priority: -1'; } > /etc/apt/preferences.d/no-debian-php

2022-11-15 04:12:59 UTC

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

2022-11-15 04:13:20 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/*

2022-11-15 04:13:21 UTC

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

2022-11-15 04:13:21 UTC

/bin/sh -c set -eux; mkdir -p "$PHP_INI_DIR/conf.d"; [ ! -d /var/www/html ]; mkdir -p /var/www/html; chown www-data:www-data /var/www/html; chmod 777 /var/www/html

2022-11-15 04:13:21 UTC

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

2022-11-15 04:13:22 UTC

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

2022-11-15 04:13:22 UTC

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

2022-11-15 05:59:52 UTC

/bin/sh -c #(nop) ENV GPG_KEYS=42670A7FE4D0441C8E4632349E4FDC074A4EF02D 5A52880781F755608BF815FC910DEB46F53EA312

2022-11-15 05:59:52 UTC

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

2022-11-15 05:59:52 UTC

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

2022-11-15 05:59:52 UTC

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

2022-11-15 06:00:04 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_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

2022-11-15 06:00:04 UTC

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

2022-11-15 06:06:48 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 '/=>/ { 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; rm -rf /var/lib/apt/lists/*; pecl update-channels; rm -rf /tmp/pear ~/.pearrc; php --version

2022-11-15 06:06:49 UTC

/bin/sh -c #(nop) COPY multi:869bde9dbeae74886a05c9e2107b3e3b4877116db8c6d9adbaff2719f9fb5262 in /usr/local/bin/

2022-11-15 06:06:49 UTC

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

2022-11-15 06:06:49 UTC

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

2022-11-15 06:06:50 UTC

/bin/sh -c #(nop) WORKDIR /var/www/html

2022-11-15 06:06:50 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 '; if we send this to /proc/self/fd/1, it never appears'; 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

2022-11-15 06:06:50 UTC

/bin/sh -c #(nop) STOPSIGNAL SIGQUIT

2022-11-15 06:06:50 UTC

/bin/sh -c #(nop) EXPOSE 9000

2022-11-15 06:06:50 UTC

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

2023-09-19 11:40:11 +0200 (buildkit.dockerfile.v0)

RUN /bin/sh -c apt-get update && apt-get install -y nginx # buildkit

2023-09-19 12:20:32 +0200 (buildkit.dockerfile.v0)

COPY devops-training-php-7 /var/www/html/devops-training-php-7/ # buildkit

2023-09-19 16:31:14 +0200 (buildkit.dockerfile.v0)

COPY default /etc/nginx/sites-available/default # buildkit

2023-09-19 16:31:14 +0200 (buildkit.dockerfile.v0)

WORKDIR /var/www/html

2023-09-19 16:34:09 +0200 (buildkit.dockerfile.v0)

EXPOSE map[80/tcp:{}]

2023-09-19 16:34:09 +0200 (buildkit.dockerfile.v0)

COPY start.sh /root/start.sh # buildkit

2023-09-19 16:34:09 +0200 (buildkit.dockerfile.v0)

RUN /bin/sh -c chmod +x /root/start.sh # buildkit

2023-09-19 16:34:09 +0200 (buildkit.dockerfile.v0)

ENTRYPOINT ["/bin/sh" "-c" "/root/start.sh"]