Skip to content

Latest commit

 

History

History
320 lines (298 loc) · 28.1 KB

php8.3.md

File metadata and controls

320 lines (298 loc) · 28.1 KB

unit:php8.3

$ docker pull unit@sha256:086b0bb1af86689fdc3604aeb962ef569c3854d1ca2b7564431f663a6c398ae8
  • Manifest MIME: application/vnd.oci.image.index.v1+json
  • Platforms: 4
    • linux; amd64
    • unknown; unknown
    • linux; arm64 variant v8
    • unknown; unknown

unit:php8.3 - linux; amd64

$ docker pull unit@sha256:adea42e4f99d927d5f4d320b8f1ffcc11fdd18977ffa3254f9f3418b8579cc9e
  • Manifest MIME: application/vnd.docker.distribution.manifest.v2+json
  • Total Size: 202.8 MB (202799430 bytes)
    (compressed transfer size, not on-disk size)
  • Image ID: sha256:60efbe95e5a25313c011e4c7dda9922d0ca6a9175d4f447c8bd17cd31f29124b
  • Entrypoint: ["\/usr\/local\/bin\/docker-entrypoint.sh"]
  • Default Command: ["unitd","--no-daemon","--control","unix:\/var\/run\/control.unit.sock"]
# Mon, 03 Mar 2025 18:37:38 GMT
RUN # debian.sh --arch 'amd64' out/ 'bookworm' '@1742169600'
# Mon, 03 Mar 2025 18:37:38 GMT
RUN set -eux; 	{ 		echo 'Package: php*'; 		echo 'Pin: release *'; 		echo 'Pin-Priority: -1'; 	} > /etc/apt/preferences.d/no-debian-php # buildkit
# Mon, 03 Mar 2025 18:37:38 GMT
ENV PHPIZE_DEPS=autoconf 		dpkg-dev 		file 		g++ 		gcc 		libc-dev 		make 		pkg-config 		re2c
# Mon, 03 Mar 2025 18:37:38 GMT
RUN 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/* # buildkit
# Mon, 03 Mar 2025 18:37:38 GMT
ENV PHP_INI_DIR=/usr/local/etc/php
# Mon, 03 Mar 2025 18:37:38 GMT
RUN 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
# Mon, 03 Mar 2025 18:37:38 GMT
ENV PHP_CFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
# Mon, 03 Mar 2025 18:37:38 GMT
ENV PHP_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
# Mon, 03 Mar 2025 18:37:38 GMT
ENV PHP_LDFLAGS=-Wl,-O1 -pie
# Mon, 03 Mar 2025 18:37:38 GMT
ENV GPG_KEYS=1198C0117593497A5EC5C199286AF1F9897469DC C28D937575603EB4ABB725861C0779DC5C0A9DE4 AFD8691FDAEDF03BDF6E460563F15A9B715376CA
# Mon, 03 Mar 2025 18:37:38 GMT
ENV PHP_VERSION=8.3.19
# Mon, 03 Mar 2025 18:37:38 GMT
ENV PHP_URL=https://www.php.net/distributions/php-8.3.19.tar.xz PHP_ASC_URL=https://www.php.net/distributions/php-8.3.19.tar.xz.asc
# Mon, 03 Mar 2025 18:37:38 GMT
ENV PHP_SHA256=976e4077dd25bec96b5dfe8938052d243bbd838f95368a204896eff12756545f
# Mon, 03 Mar 2025 18:37:38 GMT
RUN 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 # buildkit
# Mon, 03 Mar 2025 18:37:38 GMT
COPY docker-php-source /usr/local/bin/ # buildkit
# Mon, 03 Mar 2025 18:37:38 GMT
RUN 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" 		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)"; 	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-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 				--enable-phpdbg 		--enable-phpdbg-readline 				--with-pear 				--with-libdir="lib/$debMultiarch" 				--enable-embed 	; 	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); printf "*%s\n", 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 # buildkit
# Mon, 03 Mar 2025 18:37:38 GMT
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/ # buildkit
# Mon, 03 Mar 2025 18:37:38 GMT
RUN docker-php-ext-enable sodium # buildkit
# Mon, 03 Mar 2025 18:37:38 GMT
ENTRYPOINT ["docker-php-entrypoint"]
# Mon, 03 Mar 2025 18:37:38 GMT
CMD ["php" "-a"]
# Mon, 03 Mar 2025 18:37:38 GMT
LABEL org.opencontainers.image.title=Unit (php8.3)
# Mon, 03 Mar 2025 18:37:38 GMT
LABEL org.opencontainers.image.description=Official build of Unit for Docker.
# Mon, 03 Mar 2025 18:37:38 GMT
LABEL org.opencontainers.image.url=https://unit.nginx.org
# Mon, 03 Mar 2025 18:37:38 GMT
LABEL org.opencontainers.image.source=https://github.com/nginx/unit
# Mon, 03 Mar 2025 18:37:38 GMT
LABEL org.opencontainers.image.documentation=https://unit.nginx.org/installation/#docker-images
# Mon, 03 Mar 2025 18:37:38 GMT
LABEL org.opencontainers.image.vendor=NGINX Docker Maintainers <[email protected]>
# Mon, 03 Mar 2025 18:37:38 GMT
LABEL org.opencontainers.image.version=1.34.2
# Mon, 03 Mar 2025 18:37:38 GMT
RUN set -ex     && savedAptMark="$(apt-mark showmanual)"     && apt-get update     && apt-get install --no-install-recommends --no-install-suggests -y          ca-certificates git build-essential libssl-dev libpcre2-dev curl pkg-config libclang-dev cmake     && export RUST_VERSION=1.83.0     && export RUSTUP_HOME=/usr/src/unit/rustup     && export CARGO_HOME=/usr/src/unit/cargo     && export PATH=/usr/src/unit/cargo/bin:$PATH     && dpkgArch="$(dpkg --print-architecture)"     && case "${dpkgArch##*-}" in          amd64) rustArch="x86_64-unknown-linux-gnu"; rustupSha256="6aeece6993e902708983b209d04c0d1dbb14ebb405ddb87def578d41f920f56d" ;;          arm64) rustArch="aarch64-unknown-linux-gnu"; rustupSha256="1cffbf51e63e634c746f741de50649bbbcbd9dbe1de363c9ecef64e278dba2b2" ;;          *) echo >&2 "unsupported architecture: ${dpkgArch}"; exit 1 ;;        esac     && url="https://static.rust-lang.org/rustup/archive/1.27.1/${rustArch}/rustup-init"     && curl -L -O "$url"     && echo "${rustupSha256} *rustup-init" | sha256sum -c -     && chmod +x rustup-init     && ./rustup-init -y --no-modify-path --profile minimal --default-toolchain $RUST_VERSION --default-host ${rustArch}     && rm rustup-init     && rustup --version     && cargo --version     && rustc --version     && mkdir -p /usr/lib/unit/modules /usr/lib/unit/debug-modules     && mkdir -p /usr/src/unit     && cd /usr/src/unit     && git clone --depth 1 -b 1.34.2-1 https://github.com/nginx/unit     && cd unit     && NCPU="$(getconf _NPROCESSORS_ONLN)"     && DEB_HOST_MULTIARCH="$(dpkg-architecture -q DEB_HOST_MULTIARCH)"     && CC_OPT="$(DEB_BUILD_MAINT_OPTIONS="hardening=+all,-pie" DEB_CFLAGS_MAINT_APPEND="-Wp,-D_FORTIFY_SOURCE=2 -fPIC" dpkg-buildflags --get CFLAGS)"     && LD_OPT="$(DEB_BUILD_MAINT_OPTIONS="hardening=+all,-pie" DEB_LDFLAGS_MAINT_APPEND="-Wl,--as-needed -pie" dpkg-buildflags --get LDFLAGS)"     && CONFIGURE_ARGS_MODULES="--prefix=/usr                 --statedir=/var/lib/unit                 --control=unix:/var/run/control.unit.sock                 --runstatedir=/var/run                 --pid=/var/run/unit.pid                 --logdir=/var/log                 --log=/var/log/unit.log                 --tmpdir=/var/tmp                 --user=unit                 --group=unit                 --openssl                 --libdir=/usr/lib/$DEB_HOST_MULTIARCH"     && CONFIGURE_ARGS="$CONFIGURE_ARGS_MODULES                 --njs                 --otel"     && make -j $NCPU -C pkg/contrib .njs     && export PKG_CONFIG_PATH=$(pwd)/pkg/contrib/njs/build     && ./configure $CONFIGURE_ARGS --cc-opt="$CC_OPT" --ld-opt="$LD_OPT" --modulesdir=/usr/lib/unit/debug-modules --debug     && make -j $NCPU unitd     && install -pm755 build/sbin/unitd /usr/sbin/unitd-debug     && make clean     && ./configure $CONFIGURE_ARGS --cc-opt="$CC_OPT" --ld-opt="$LD_OPT" --modulesdir=/usr/lib/unit/modules     && make -j $NCPU unitd     && install -pm755 build/sbin/unitd /usr/sbin/unitd     && make clean     && /bin/true     && ./configure $CONFIGURE_ARGS_MODULES --cc-opt="$CC_OPT" --modulesdir=/usr/lib/unit/debug-modules --debug     && ./configure php     && make -j $NCPU php-install     && make clean     && ./configure $CONFIGURE_ARGS_MODULES --cc-opt="$CC_OPT" --modulesdir=/usr/lib/unit/modules     && ./configure php     && make -j $NCPU php-install     && cd     && rm -rf /usr/src/unit     && for f in /usr/sbin/unitd /usr/lib/unit/modules/*.unit.so; do         ldd $f | awk '/=>/{print $(NF-1)}' | while read n; do dpkg-query -S $n; done | sed 's/^\([^:]\+\):.*$/\1/' | sort | uniq >> /requirements.apt;        done     && apt-mark showmanual | xargs apt-mark auto > /dev/null     && { [ -z "$savedAptMark" ] || apt-mark manual $savedAptMark; }     && ldconfig     && mkdir -p /var/lib/unit/     && mkdir -p /docker-entrypoint.d/     && groupadd --gid 999 unit     && useradd          --uid 999          --gid unit          --no-create-home          --home /nonexistent          --comment "unit user"          --shell /bin/false          unit     && apt-get update     && apt-get --no-install-recommends --no-install-suggests -y install curl $(cat /requirements.apt)     && apt-get purge -y --auto-remove build-essential     && rm -rf /var/lib/apt/lists/*     && rm -f /requirements.apt     && ln -sf /dev/stderr /var/log/unit.log # buildkit
# Mon, 03 Mar 2025 18:37:38 GMT
COPY docker-entrypoint.sh /usr/local/bin/ # buildkit
# Mon, 03 Mar 2025 18:37:38 GMT
COPY welcome.* /usr/share/unit/welcome/ # buildkit
# Mon, 03 Mar 2025 18:37:38 GMT
STOPSIGNAL SIGTERM
# Mon, 03 Mar 2025 18:37:38 GMT
ENTRYPOINT ["/usr/local/bin/docker-entrypoint.sh"]
# Mon, 03 Mar 2025 18:37:38 GMT
EXPOSE map[80/tcp:{}]
# Mon, 03 Mar 2025 18:37:38 GMT
CMD ["unitd" "--no-daemon" "--control" "unix:/var/run/control.unit.sock"]
  • Layers:
    • sha256:6e909acdb790c5a1989d9cfc795fda5a246ad6664bb27b5c688e2b734b2c5fad
      Last Modified: Mon, 17 Mar 2025 22:17:24 GMT
      Size: 28.2 MB (28204865 bytes)
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:31ee84c3cc06f27359585a604651c9687c78780209faf77ce9a6f18cd6af30db
      Last Modified: Mon, 17 Mar 2025 23:18:21 GMT
      Size: 224.0 B
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:13905c22d48938666aab65012fa0b8ab9c9928aabf6dd1669a970b043047caa2
      Last Modified: Mon, 17 Mar 2025 23:18:23 GMT
      Size: 104.3 MB (104329226 bytes)
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:c1eb1d4cecd3bf7d91119e7f189058c8c61e74834b7d97ba2186af516da5a036
      Last Modified: Mon, 17 Mar 2025 23:18:20 GMT
      Size: 226.0 B
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:5dbf261cfd0526592ab9730884087e6456f6e9caf35b130cd824198268e3a98c
      Last Modified: Mon, 17 Mar 2025 23:18:21 GMT
      Size: 12.7 MB (12670875 bytes)
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:7a438ed196d85008abb4977efe6feafc7c3e21b2b1eb9bd00fde7f8ee425d66c
      Last Modified: Mon, 17 Mar 2025 23:18:21 GMT
      Size: 489.0 B
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:291095bacc82090c799cbd6bf34e43862b935b4da12e39b0f04faae341d891fc
      Last Modified: Mon, 17 Mar 2025 23:18:23 GMT
      Size: 36.1 MB (36120948 bytes)
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:a0afc926b258deff7d4d2dbd07c1db93b846d218765f06067154074921d9da45
      Last Modified: Mon, 17 Mar 2025 23:18:22 GMT
      Size: 2.4 KB (2443 bytes)
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:82ad65460e668c06c8d19d2aee90ffe97479a5d679cf76ea57a22a657572fc61
      Last Modified: Mon, 17 Mar 2025 23:18:22 GMT
      Size: 246.0 B
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:bcc852a6c4662b5e4f8782e549885b0382771c5b608783f4e7c2ff5a0b9860f8
      Last Modified: Tue, 18 Mar 2025 00:26:53 GMT
      Size: 21.5 MB (21467167 bytes)
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:e5b2437168cefd2e55b4c18dc95d9b2390af7e7e2d0930997d2ddb01a6dbda6d
      Last Modified: Tue, 18 Mar 2025 00:26:50 GMT
      Size: 1.3 KB (1268 bytes)
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:5f9baf8f8c1e3bf1824b7d16a42edda9c863e5a49c182f69eb6ca994001563b5
      Last Modified: Tue, 18 Mar 2025 00:26:50 GMT
      Size: 1.5 KB (1453 bytes)
      MIME: application/vnd.oci.image.layer.v1.tar+gzip

unit:php8.3 - unknown; unknown

$ docker pull unit@sha256:9dd888755b5e18d49958db88e57fbc907252af7955afe273de29e542a825eba7
  • Manifest MIME: application/vnd.docker.distribution.manifest.v2+json
  • Total Size: 29.5 KB (29481 bytes)
    (compressed transfer size, not on-disk size)
  • Image ID: sha256:afd811f8e931fab22222a32f19e9c2073b0f5eae3f912c2f8c0057c14f8f501f
  • Layers:
    • sha256:cad15e170c64d2ae18ac315e7e530d0c9afc9cbdc36fd50489276964ce1217c4
      Last Modified: Tue, 18 Mar 2025 00:26:50 GMT
      Size: 29.5 KB (29481 bytes)
      MIME: application/vnd.in-toto+json

unit:php8.3 - linux; arm64 variant v8

$ docker pull unit@sha256:2d3265180fbe313167bb980785eb9f94fcca389474381802033ecb5e7a5297bb
  • Manifest MIME: application/vnd.docker.distribution.manifest.v2+json
  • Total Size: 195.6 MB (195551975 bytes)
    (compressed transfer size, not on-disk size)
  • Image ID: sha256:6a064c0a317502a6667103994dd109780c3177dbeabbcd9ba7e97122094f0990
  • Entrypoint: ["\/usr\/local\/bin\/docker-entrypoint.sh"]
  • Default Command: ["unitd","--no-daemon","--control","unix:\/var\/run\/control.unit.sock"]
# Mon, 03 Mar 2025 18:37:38 GMT
RUN # debian.sh --arch 'arm64' out/ 'bookworm' '@1742169600'
# Mon, 03 Mar 2025 18:37:38 GMT
RUN set -eux; 	{ 		echo 'Package: php*'; 		echo 'Pin: release *'; 		echo 'Pin-Priority: -1'; 	} > /etc/apt/preferences.d/no-debian-php # buildkit
# Mon, 03 Mar 2025 18:37:38 GMT
ENV PHPIZE_DEPS=autoconf 		dpkg-dev 		file 		g++ 		gcc 		libc-dev 		make 		pkg-config 		re2c
# Mon, 03 Mar 2025 18:37:38 GMT
RUN 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/* # buildkit
# Mon, 03 Mar 2025 18:37:38 GMT
ENV PHP_INI_DIR=/usr/local/etc/php
# Mon, 03 Mar 2025 18:37:38 GMT
RUN 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
# Mon, 03 Mar 2025 18:37:38 GMT
ENV PHP_CFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
# Mon, 03 Mar 2025 18:37:38 GMT
ENV PHP_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
# Mon, 03 Mar 2025 18:37:38 GMT
ENV PHP_LDFLAGS=-Wl,-O1 -pie
# Mon, 03 Mar 2025 18:37:38 GMT
ENV GPG_KEYS=1198C0117593497A5EC5C199286AF1F9897469DC C28D937575603EB4ABB725861C0779DC5C0A9DE4 AFD8691FDAEDF03BDF6E460563F15A9B715376CA
# Mon, 03 Mar 2025 18:37:38 GMT
ENV PHP_VERSION=8.3.19
# Mon, 03 Mar 2025 18:37:38 GMT
ENV PHP_URL=https://www.php.net/distributions/php-8.3.19.tar.xz PHP_ASC_URL=https://www.php.net/distributions/php-8.3.19.tar.xz.asc
# Mon, 03 Mar 2025 18:37:38 GMT
ENV PHP_SHA256=976e4077dd25bec96b5dfe8938052d243bbd838f95368a204896eff12756545f
# Mon, 03 Mar 2025 18:37:38 GMT
RUN 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 # buildkit
# Mon, 03 Mar 2025 18:37:38 GMT
COPY docker-php-source /usr/local/bin/ # buildkit
# Mon, 03 Mar 2025 18:37:38 GMT
RUN 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" 		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)"; 	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-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 				--enable-phpdbg 		--enable-phpdbg-readline 				--with-pear 				--with-libdir="lib/$debMultiarch" 				--enable-embed 	; 	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); printf "*%s\n", 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 # buildkit
# Mon, 03 Mar 2025 18:37:38 GMT
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/ # buildkit
# Mon, 03 Mar 2025 18:37:38 GMT
RUN docker-php-ext-enable sodium # buildkit
# Mon, 03 Mar 2025 18:37:38 GMT
ENTRYPOINT ["docker-php-entrypoint"]
# Mon, 03 Mar 2025 18:37:38 GMT
CMD ["php" "-a"]
# Mon, 03 Mar 2025 18:37:38 GMT
LABEL org.opencontainers.image.title=Unit (php8.3)
# Mon, 03 Mar 2025 18:37:38 GMT
LABEL org.opencontainers.image.description=Official build of Unit for Docker.
# Mon, 03 Mar 2025 18:37:38 GMT
LABEL org.opencontainers.image.url=https://unit.nginx.org
# Mon, 03 Mar 2025 18:37:38 GMT
LABEL org.opencontainers.image.source=https://github.com/nginx/unit
# Mon, 03 Mar 2025 18:37:38 GMT
LABEL org.opencontainers.image.documentation=https://unit.nginx.org/installation/#docker-images
# Mon, 03 Mar 2025 18:37:38 GMT
LABEL org.opencontainers.image.vendor=NGINX Docker Maintainers <[email protected]>
# Mon, 03 Mar 2025 18:37:38 GMT
LABEL org.opencontainers.image.version=1.34.2
# Mon, 03 Mar 2025 18:37:38 GMT
RUN set -ex     && savedAptMark="$(apt-mark showmanual)"     && apt-get update     && apt-get install --no-install-recommends --no-install-suggests -y          ca-certificates git build-essential libssl-dev libpcre2-dev curl pkg-config libclang-dev cmake     && export RUST_VERSION=1.83.0     && export RUSTUP_HOME=/usr/src/unit/rustup     && export CARGO_HOME=/usr/src/unit/cargo     && export PATH=/usr/src/unit/cargo/bin:$PATH     && dpkgArch="$(dpkg --print-architecture)"     && case "${dpkgArch##*-}" in          amd64) rustArch="x86_64-unknown-linux-gnu"; rustupSha256="6aeece6993e902708983b209d04c0d1dbb14ebb405ddb87def578d41f920f56d" ;;          arm64) rustArch="aarch64-unknown-linux-gnu"; rustupSha256="1cffbf51e63e634c746f741de50649bbbcbd9dbe1de363c9ecef64e278dba2b2" ;;          *) echo >&2 "unsupported architecture: ${dpkgArch}"; exit 1 ;;        esac     && url="https://static.rust-lang.org/rustup/archive/1.27.1/${rustArch}/rustup-init"     && curl -L -O "$url"     && echo "${rustupSha256} *rustup-init" | sha256sum -c -     && chmod +x rustup-init     && ./rustup-init -y --no-modify-path --profile minimal --default-toolchain $RUST_VERSION --default-host ${rustArch}     && rm rustup-init     && rustup --version     && cargo --version     && rustc --version     && mkdir -p /usr/lib/unit/modules /usr/lib/unit/debug-modules     && mkdir -p /usr/src/unit     && cd /usr/src/unit     && git clone --depth 1 -b 1.34.2-1 https://github.com/nginx/unit     && cd unit     && NCPU="$(getconf _NPROCESSORS_ONLN)"     && DEB_HOST_MULTIARCH="$(dpkg-architecture -q DEB_HOST_MULTIARCH)"     && CC_OPT="$(DEB_BUILD_MAINT_OPTIONS="hardening=+all,-pie" DEB_CFLAGS_MAINT_APPEND="-Wp,-D_FORTIFY_SOURCE=2 -fPIC" dpkg-buildflags --get CFLAGS)"     && LD_OPT="$(DEB_BUILD_MAINT_OPTIONS="hardening=+all,-pie" DEB_LDFLAGS_MAINT_APPEND="-Wl,--as-needed -pie" dpkg-buildflags --get LDFLAGS)"     && CONFIGURE_ARGS_MODULES="--prefix=/usr                 --statedir=/var/lib/unit                 --control=unix:/var/run/control.unit.sock                 --runstatedir=/var/run                 --pid=/var/run/unit.pid                 --logdir=/var/log                 --log=/var/log/unit.log                 --tmpdir=/var/tmp                 --user=unit                 --group=unit                 --openssl                 --libdir=/usr/lib/$DEB_HOST_MULTIARCH"     && CONFIGURE_ARGS="$CONFIGURE_ARGS_MODULES                 --njs                 --otel"     && make -j $NCPU -C pkg/contrib .njs     && export PKG_CONFIG_PATH=$(pwd)/pkg/contrib/njs/build     && ./configure $CONFIGURE_ARGS --cc-opt="$CC_OPT" --ld-opt="$LD_OPT" --modulesdir=/usr/lib/unit/debug-modules --debug     && make -j $NCPU unitd     && install -pm755 build/sbin/unitd /usr/sbin/unitd-debug     && make clean     && ./configure $CONFIGURE_ARGS --cc-opt="$CC_OPT" --ld-opt="$LD_OPT" --modulesdir=/usr/lib/unit/modules     && make -j $NCPU unitd     && install -pm755 build/sbin/unitd /usr/sbin/unitd     && make clean     && /bin/true     && ./configure $CONFIGURE_ARGS_MODULES --cc-opt="$CC_OPT" --modulesdir=/usr/lib/unit/debug-modules --debug     && ./configure php     && make -j $NCPU php-install     && make clean     && ./configure $CONFIGURE_ARGS_MODULES --cc-opt="$CC_OPT" --modulesdir=/usr/lib/unit/modules     && ./configure php     && make -j $NCPU php-install     && cd     && rm -rf /usr/src/unit     && for f in /usr/sbin/unitd /usr/lib/unit/modules/*.unit.so; do         ldd $f | awk '/=>/{print $(NF-1)}' | while read n; do dpkg-query -S $n; done | sed 's/^\([^:]\+\):.*$/\1/' | sort | uniq >> /requirements.apt;        done     && apt-mark showmanual | xargs apt-mark auto > /dev/null     && { [ -z "$savedAptMark" ] || apt-mark manual $savedAptMark; }     && ldconfig     && mkdir -p /var/lib/unit/     && mkdir -p /docker-entrypoint.d/     && groupadd --gid 999 unit     && useradd          --uid 999          --gid unit          --no-create-home          --home /nonexistent          --comment "unit user"          --shell /bin/false          unit     && apt-get update     && apt-get --no-install-recommends --no-install-suggests -y install curl $(cat /requirements.apt)     && apt-get purge -y --auto-remove build-essential     && rm -rf /var/lib/apt/lists/*     && rm -f /requirements.apt     && ln -sf /dev/stderr /var/log/unit.log # buildkit
# Mon, 03 Mar 2025 18:37:38 GMT
COPY docker-entrypoint.sh /usr/local/bin/ # buildkit
# Mon, 03 Mar 2025 18:37:38 GMT
COPY welcome.* /usr/share/unit/welcome/ # buildkit
# Mon, 03 Mar 2025 18:37:38 GMT
STOPSIGNAL SIGTERM
# Mon, 03 Mar 2025 18:37:38 GMT
ENTRYPOINT ["/usr/local/bin/docker-entrypoint.sh"]
# Mon, 03 Mar 2025 18:37:38 GMT
EXPOSE map[80/tcp:{}]
# Mon, 03 Mar 2025 18:37:38 GMT
CMD ["unitd" "--no-daemon" "--control" "unix:/var/run/control.unit.sock"]
  • Layers:
    • sha256:d9b6365477446a79987b20560ae52637be6f54d6d2f801e16aaa0ca25dd0964b
      Last Modified: Mon, 17 Mar 2025 22:17:34 GMT
      Size: 28.0 MB (28044037 bytes)
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:b845448e3a2fe08e44de9ba393e368edaf553ac2b42b58d46d95c8f2fbec662c
      Last Modified: Tue, 18 Mar 2025 05:41:22 GMT
      Size: 225.0 B
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:6e86d7f22c74cb3db95f1c6735710834cf0f07e91ac282ce7db0d5d41e01bf71
      Last Modified: Tue, 18 Mar 2025 05:41:25 GMT
      Size: 98.1 MB (98130134 bytes)
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:9244afd9af6f27e0dc7bde93588cd95adc9c04ee4cf0ddeac0af32d2ce6f2d9f
      Last Modified: Tue, 18 Mar 2025 05:41:22 GMT
      Size: 226.0 B
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:90e0f31d0940181312546889ac406a77aa63d69dff3fbe07543d690638f92820
      Last Modified: Tue, 18 Mar 2025 05:41:23 GMT
      Size: 12.7 MB (12670709 bytes)
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:9c6f52d3ce973245446154b947b3edfc813f1ea5bf654f88c4f9024c9985dddc
      Last Modified: Tue, 18 Mar 2025 05:41:23 GMT
      Size: 490.0 B
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:5b2b8b0230592d2c41b1c4bdb3f8766095178de2303fff92395243f3cda4ff65
      Last Modified: Tue, 18 Mar 2025 05:56:11 GMT
      Size: 35.9 MB (35869604 bytes)
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:5c9e658f42db35ac6b522984ef5ff4f43c1e02609ff8a225d831710bcdf88cb5
      Last Modified: Tue, 18 Mar 2025 05:56:09 GMT
      Size: 2.4 KB (2446 bytes)
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:23a4dad099c6dca573a098859fff4669cbc0eaae87b10523b0cc512af8b7dd68
      Last Modified: Tue, 18 Mar 2025 05:56:09 GMT
      Size: 244.0 B
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:22a602dff20f3045130ac8f329411aedb440ff5e2df2ba04fc44deff94402550
      Last Modified: Tue, 18 Mar 2025 11:11:13 GMT
      Size: 20.8 MB (20831138 bytes)
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:4e6a7caa83c2c454bac21dd34db7dbc3dace9e6c6a21cfbf9e665880d05f8ee7
      Last Modified: Tue, 18 Mar 2025 11:11:12 GMT
      Size: 1.3 KB (1269 bytes)
      MIME: application/vnd.oci.image.layer.v1.tar+gzip
    • sha256:e2b1a533465fa7eb4b63042449d414dd2a8ed36c55d29c48aa3d357f27b02656
      Last Modified: Tue, 18 Mar 2025 11:11:12 GMT
      Size: 1.5 KB (1453 bytes)
      MIME: application/vnd.oci.image.layer.v1.tar+gzip

unit:php8.3 - unknown; unknown

$ docker pull unit@sha256:6bfe4228dd86b282fcdfc670a3fc8a8f43740a781eed1163fa563539e6a505bc
  • Manifest MIME: application/vnd.docker.distribution.manifest.v2+json
  • Total Size: 29.6 KB (29558 bytes)
    (compressed transfer size, not on-disk size)
  • Image ID: sha256:021aed76cc3cf1b9de556957f903b2f05fdabb28900a1ea309cad026b16721fe
  • Layers:
    • sha256:183524466d13f04642b23131ec65bbdc3d8435b7c7f309861c2ade30ecbc731d
      Last Modified: Tue, 18 Mar 2025 11:11:12 GMT
      Size: 29.6 KB (29558 bytes)
      MIME: application/vnd.in-toto+json