$ docker pull unit@sha256:f0331769362eaa899e04c5995f4d7c4080afb4046dec314af61450102ebf6fba
Manifest MIME: application/vnd.oci.image.index.v1+json
Platforms: 4
linux; amd64
unknown; unknown
linux; arm64 variant v8
unknown; unknown
unit:minimal
- linux; amd64
$ docker pull unit@sha256:724fdbd3c13ddab72da2e8052be2ae999eeb587d6d346a097c9db751337c73c1
Manifest MIME: application/vnd.docker.distribution.manifest.v2+json
Total Size: 54.9 MB (54915642 bytes)
(compressed transfer size, not on-disk size)
Image ID: sha256:6b64807bfaeb2a67058ea4def1f52537020badeb76d077f147fd76c71802e49b
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
LABEL org.opencontainers.image.title=Unit (minimal)
# 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 && make -j $NCPU version && make clean && ./configure $CONFIGURE_ARGS_MODULES --cc-opt="$CC_OPT" --modulesdir=/usr/lib/unit/modules && ./configure && make -j $NCPU version && 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; } && /bin/true && 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:c85168d7fccb0a7b14f8cc533ff3063c7d5cec98ab776b847324afdb1d81dbe4
Last Modified: Mon, 17 Mar 2025 23:19:56 GMT
Size: 26.7 MB (26708061 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:51413fb134cb626aea8a12c82c677e6504b266a2ad4548407ddff23c9715f45e
Last Modified: Mon, 17 Mar 2025 23:19:55 GMT
Size: 1.3 KB (1263 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:05f6e5d95b380cece239d1a9d717b4479a145beb9fa40ddc1ddf6ede7a65b78f
Last Modified: Mon, 17 Mar 2025 23:19:55 GMT
Size: 1.5 KB (1453 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
unit:minimal
- unknown; unknown
$ docker pull unit@sha256:90ee8755772f8e8624f5ced0a2c7a37391874fcb4a17a6855302adf01098b4fb
Manifest MIME: application/vnd.docker.distribution.manifest.v2+json
Total Size: 24.0 KB (24029 bytes)
(compressed transfer size, not on-disk size)
Image ID: sha256:d5011bbb6d008d755a54a11811767da64f78f61c3ec88c64060d4f707394f5ae
Layers:
sha256:5f31243d353aefb9306155ccef263fd2949d07ed09880603c883360685b59d2b
Last Modified: Mon, 17 Mar 2025 23:19:55 GMT
Size: 24.0 KB (24029 bytes)
MIME: application/vnd.in-toto+json
unit:minimal
- linux; arm64 variant v8
$ docker pull unit@sha256:22539cd4a1e4a6b12cd88c6bec9ee35fca42c79dd0fbefec37a128e980e361da
Manifest MIME: application/vnd.docker.distribution.manifest.v2+json
Total Size: 54.0 MB (53950532 bytes)
(compressed transfer size, not on-disk size)
Image ID: sha256:c953e749f6585e7629522a59679a44177a2df2bc990a230bdd12ce62f31ae86d
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
LABEL org.opencontainers.image.title=Unit (minimal)
# 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 && make -j $NCPU version && make clean && ./configure $CONFIGURE_ARGS_MODULES --cc-opt="$CC_OPT" --modulesdir=/usr/lib/unit/modules && ./configure && make -j $NCPU version && 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; } && /bin/true && 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:cfef8cec9f6fb1debd2282919150f96ffdc08b547e3b5bc0c374437fc29a5f3e
Last Modified: Tue, 18 Mar 2025 00:30:24 GMT
Size: 25.9 MB (25903780 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:acb2a2e2aaafa2cb4842d3368db62f33cfca4cd150360c774ea9f7d1df84bead
Last Modified: Tue, 18 Mar 2025 00:30:22 GMT
Size: 1.3 KB (1262 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:44d50a6017c7d42223ce31d05e70aca31eeca4e7faddb023a7b564b4b6f544d3
Last Modified: Tue, 18 Mar 2025 00:30:23 GMT
Size: 1.5 KB (1453 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
unit:minimal
- unknown; unknown
$ docker pull unit@sha256:1b0aa5bc8ce6d099b8484ce62a49a023c9bf897a60a8342030eeb9fc8f2c9ab4
Manifest MIME: application/vnd.docker.distribution.manifest.v2+json
Total Size: 24.1 KB (24121 bytes)
(compressed transfer size, not on-disk size)
Image ID: sha256:77ec31a58dafc80790126c480f39f5b741e7ba11af90145d30288bb88d120527
Layers:
sha256:540d68d94fef72f11fb2fcd40a0abc6ae10683fa584c247839b992f3074434c6
Last Modified: Tue, 18 Mar 2025 00:30:22 GMT
Size: 24.1 KB (24121 bytes)
MIME: application/vnd.in-toto+json