$ docker pull unit@sha256:17630218c5e90f3d1f83d871788338d01329972664b876801e05e5fa56e50e8c
Manifest MIME: application/vnd.oci.image.index.v1+json
Platforms: 4
linux; amd64
unknown; unknown
linux; arm64 variant v8
unknown; unknown
unit:1.34.2-perl5.38
- linux; amd64
$ docker pull unit@sha256:a0c0295d5565c259ab78d8c9882bab68ba69cde525bfa647cb37ddd6e2d8f91e
Manifest MIME: application/vnd.docker.distribution.manifest.v2+json
Total Size: 385.4 MB (385381293 bytes)
(compressed transfer size, not on-disk size)
Image ID: sha256:ee4466a84b1e9c247a544fcd9d4c591b8cf44936c90703555aeaefa56f3b6ba8
Entrypoint: ["\/usr\/local\/bin\/docker-entrypoint.sh"]
Default Command: ["unitd","--no-daemon","--control","unix:\/var\/run\/control.unit.sock"]
# Wed, 10 May 2023 23:29:59 GMT
RUN # debian.sh --arch 'amd64' out/ 'bookworm' '@1743984000'
# Wed, 10 May 2023 23:29:59 GMT
RUN set -eux; apt-get update; apt-get install -y --no-install-recommends ca-certificates curl gnupg netbase sq wget ; rm -rf /var/lib/apt/lists/* # buildkit
# Tue, 09 Jan 2024 01:14:25 GMT
RUN set -eux; apt-get update; apt-get install -y --no-install-recommends git mercurial openssh-client subversion procps ; rm -rf /var/lib/apt/lists/* # buildkit
# Tue, 09 Jan 2024 01:14:25 GMT
RUN set -ex; apt-get update; apt-get install -y --no-install-recommends autoconf automake bzip2 default-libmysqlclient-dev dpkg-dev file g++ gcc imagemagick libbz2-dev libc6-dev libcurl4-openssl-dev libdb-dev libevent-dev libffi-dev libgdbm-dev libglib2.0-dev libgmp-dev libjpeg-dev libkrb5-dev liblzma-dev libmagickcore-dev libmagickwand-dev libmaxminddb-dev libncurses5-dev libncursesw5-dev libpng-dev libpq-dev libreadline-dev libsqlite3-dev libssl-dev libtool libwebp-dev libxml2-dev libxslt-dev libyaml-dev make patch unzip xz-utils zlib1g-dev ; rm -rf /var/lib/apt/lists/* # buildkit
# Mon, 03 Mar 2025 18:37:38 GMT
WORKDIR /usr/src/perl
# Mon, 03 Mar 2025 18:37:38 GMT
RUN true && curl -fL https://cpan.metacpan.org/authors/id/S/SH/SHAY/perl-5.38.4.tar.gz -o perl-5.38.4.tar.gz && echo 'fb888accf8b50b5180e91166e5153608be294c57c19878e95f7659c1f1f12758 *perl-5.38.4.tar.gz' | sha256sum --strict --check - && tar --strip-components=1 -xaf perl-5.38.4.tar.gz -C /usr/src/perl && rm perl-5.38.4.tar.gz && cat *.patch | patch -p1 && gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)" && archBits="$(dpkg-architecture --query DEB_BUILD_ARCH_BITS)" && archFlag="$([ "$archBits" = '64' ] && echo '-Duse64bitall' || echo '-Duse64bitint')" && ./Configure -Darchname="$gnuArch" "$archFlag" -Duseshrplib -Dvendorprefix=/usr/local -des && make -j$(nproc) && TEST_JOBS=$(nproc) make test_harness && make install && cd /usr/src && curl -fLO https://www.cpan.org/authors/id/M/MI/MIYAGAWA/App-cpanminus-1.7047.tar.gz && echo '963e63c6e1a8725ff2f624e9086396ae150db51dd0a337c3781d09a994af05a5 *App-cpanminus-1.7047.tar.gz' | sha256sum --strict --check - && tar -xzf App-cpanminus-1.7047.tar.gz && cd App-cpanminus-1.7047 && perl -pi -E 's{http://(www\.cpan\.org|backpan\.perl\.org|cpan\.metacpan\.org|fastapi\.metacpan\.org|cpanmetadb\.plackperl\.org)}{https://$1}g' bin/cpanm && perl -pi -E 's{try_lwp=>1}{try_lwp=>0}g' bin/cpanm && perl bin/cpanm . && cd /root && curl -fLO 'https://www.cpan.org/authors/id/C/CH/CHRISN/Net-SSLeay-1.94.tar.gz' && echo '9d7be8a56d1bedda05c425306cc504ba134307e0c09bda4a788c98744ebcd95d *Net-SSLeay-1.94.tar.gz' | sha256sum --strict --check - && cpanm --from $PWD Net-SSLeay-1.94.tar.gz && curl -fLO 'https://www.cpan.org/authors/id/S/SU/SULLR/IO-Socket-SSL-2.085.tar.gz' && echo '95b2f7c0628a7e246a159665fbf0620d0d7835e3a940f22d3fdd47c3aa799c2e *IO-Socket-SSL-2.085.tar.gz' | sha256sum --strict --check - && SSL_CERT_DIR=/etc/ssl/certs cpanm --from $PWD IO-Socket-SSL-2.085.tar.gz && curl -fL https://raw.githubusercontent.com/skaji/cpm/0.997017/cpm -o /usr/local/bin/cpm && echo 'e3931a7d994c96f9c74b97d1b5b75a554fc4f06eadef1eca26ecc0bdcd1f2d11 */usr/local/bin/cpm' | sha256sum --strict --check - && chmod +x /usr/local/bin/cpm && true && rm -fr /root/.cpanm /root/Net-SSLeay-1.94* /root/IO-Socket-SSL-2.085* /usr/src/perl /usr/src/App-cpanminus-1.7047* /tmp/* && cpanm --version && cpm --version # buildkit
# Mon, 03 Mar 2025 18:37:38 GMT
WORKDIR /usr/src/app
# Mon, 03 Mar 2025 18:37:38 GMT
CMD ["perl5.38.4" "-de0" ]
# Mon, 03 Mar 2025 18:37:38 GMT
LABEL org.opencontainers.image.title=Unit (perl5.38)
# 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 perl && make -j $NCPU perl-install && make clean && ./configure $CONFIGURE_ARGS_MODULES --cc-opt="$CC_OPT" --modulesdir=/usr/lib/unit/modules && ./configure perl && make -j $NCPU perl-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; } && /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:23b7d26ef1d294256da0d70ce374277b9aab5ca683015073316005cb63d33849
Last Modified: Tue, 08 Apr 2025 00:22:55 GMT
Size: 48.5 MB (48490541 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:07d1b5af933d2dfc3d0dd509d6e20534825e4a537f7b006a6cb5b8e5a1f20905
Last Modified: Tue, 08 Apr 2025 01:24:20 GMT
Size: 24.0 MB (24011090 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:1eb98adba0eb44a2e4facf9ca3626a4a66feedd0dd56d159cca90a35205744e7
Last Modified: Tue, 08 Apr 2025 02:13:59 GMT
Size: 64.4 MB (64396468 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:b617a119f8a27982374d94ec6eb3738ae3d38d6fc2c34c865813926cf596a621
Last Modified: Tue, 08 Apr 2025 03:16:47 GMT
Size: 211.3 MB (211331550 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:7bce1b353aeb87f3d5aa19b295d03eb93a5ded72bc32f3254c7f8bca86f7af55
Last Modified: Mon, 14 Apr 2025 17:48:48 GMT
Size: 134.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:3ff49d05a7d95fc6ff658a7b6ae94f58e546c9304e759264329dcb3b1a1ef7d3
Last Modified: Mon, 14 Apr 2025 17:48:48 GMT
Size: 15.5 MB (15520163 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:24a77bb9927edd33a958a2a9c92bf11e4e6b10877854515d2dcf7ea8d0d313b6
Last Modified: Mon, 14 Apr 2025 17:48:47 GMT
Size: 133.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:d309a32a908494ba2dae2ac5e8408337662d3ca787bdd4464fab5f9fd5bf233e
Last Modified: Mon, 14 Apr 2025 18:04:09 GMT
Size: 21.6 MB (21628497 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:6c7b27aa4ab3132439aefb19701d1376fda60208f975c7cdc63c9e41a8018e5b
Last Modified: Mon, 14 Apr 2025 18:04:08 GMT
Size: 1.3 KB (1263 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:55ede645c46c06330879812649483ea9d3860d96d83ca2a9105939eaca85bf80
Last Modified: Mon, 14 Apr 2025 18:04:08 GMT
Size: 1.5 KB (1454 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
unit:1.34.2-perl5.38
- unknown; unknown
$ docker pull unit@sha256:ce0bf82dc9112002bd421fe4a4fa4d98158a4b165ee46d3c9d80e57a4b9fda9f
Manifest MIME: application/vnd.docker.distribution.manifest.v2+json
Total Size: 27.6 KB (27572 bytes)
(compressed transfer size, not on-disk size)
Image ID: sha256:305080fa7300967037d67876cb8a3aef62851ce452e926c50cfc92086ba1045f
Layers:
sha256:d603cd05ccf859c94dc75ac3e160531e794cbb93cccad29f10c1c464d73cced3
Last Modified: Mon, 14 Apr 2025 18:04:08 GMT
Size: 27.6 KB (27572 bytes)
MIME: application/vnd.in-toto+json
unit:1.34.2-perl5.38
- linux; arm64 variant v8
$ docker pull unit@sha256:99cd6cda6269eb829bc3c717b90c5d6ffd013272f200abae31137ed6456b4ccc
Manifest MIME: application/vnd.docker.distribution.manifest.v2+json
Total Size: 375.4 MB (375441883 bytes)
(compressed transfer size, not on-disk size)
Image ID: sha256:3618b7e61220e9744ad58e1abe6ddeb717b654e35cc5ed613463c3f0f8b025d3
Entrypoint: ["\/usr\/local\/bin\/docker-entrypoint.sh"]
Default Command: ["unitd","--no-daemon","--control","unix:\/var\/run\/control.unit.sock"]
# Wed, 10 May 2023 23:29:59 GMT
RUN # debian.sh --arch 'arm64' out/ 'bookworm' '@1743984000'
# Wed, 10 May 2023 23:29:59 GMT
RUN set -eux; apt-get update; apt-get install -y --no-install-recommends ca-certificates curl gnupg netbase sq wget ; rm -rf /var/lib/apt/lists/* # buildkit
# Tue, 09 Jan 2024 01:14:25 GMT
RUN set -eux; apt-get update; apt-get install -y --no-install-recommends git mercurial openssh-client subversion procps ; rm -rf /var/lib/apt/lists/* # buildkit
# Tue, 09 Jan 2024 01:14:25 GMT
RUN set -ex; apt-get update; apt-get install -y --no-install-recommends autoconf automake bzip2 default-libmysqlclient-dev dpkg-dev file g++ gcc imagemagick libbz2-dev libc6-dev libcurl4-openssl-dev libdb-dev libevent-dev libffi-dev libgdbm-dev libglib2.0-dev libgmp-dev libjpeg-dev libkrb5-dev liblzma-dev libmagickcore-dev libmagickwand-dev libmaxminddb-dev libncurses5-dev libncursesw5-dev libpng-dev libpq-dev libreadline-dev libsqlite3-dev libssl-dev libtool libwebp-dev libxml2-dev libxslt-dev libyaml-dev make patch unzip xz-utils zlib1g-dev ; rm -rf /var/lib/apt/lists/* # buildkit
# Mon, 03 Mar 2025 18:37:38 GMT
WORKDIR /usr/src/perl
# Mon, 03 Mar 2025 18:37:38 GMT
RUN true && curl -fL https://cpan.metacpan.org/authors/id/S/SH/SHAY/perl-5.38.4.tar.gz -o perl-5.38.4.tar.gz && echo 'fb888accf8b50b5180e91166e5153608be294c57c19878e95f7659c1f1f12758 *perl-5.38.4.tar.gz' | sha256sum --strict --check - && tar --strip-components=1 -xaf perl-5.38.4.tar.gz -C /usr/src/perl && rm perl-5.38.4.tar.gz && cat *.patch | patch -p1 && gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)" && archBits="$(dpkg-architecture --query DEB_BUILD_ARCH_BITS)" && archFlag="$([ "$archBits" = '64' ] && echo '-Duse64bitall' || echo '-Duse64bitint')" && ./Configure -Darchname="$gnuArch" "$archFlag" -Duseshrplib -Dvendorprefix=/usr/local -des && make -j$(nproc) && TEST_JOBS=$(nproc) make test_harness && make install && cd /usr/src && curl -fLO https://www.cpan.org/authors/id/M/MI/MIYAGAWA/App-cpanminus-1.7047.tar.gz && echo '963e63c6e1a8725ff2f624e9086396ae150db51dd0a337c3781d09a994af05a5 *App-cpanminus-1.7047.tar.gz' | sha256sum --strict --check - && tar -xzf App-cpanminus-1.7047.tar.gz && cd App-cpanminus-1.7047 && perl -pi -E 's{http://(www\.cpan\.org|backpan\.perl\.org|cpan\.metacpan\.org|fastapi\.metacpan\.org|cpanmetadb\.plackperl\.org)}{https://$1}g' bin/cpanm && perl -pi -E 's{try_lwp=>1}{try_lwp=>0}g' bin/cpanm && perl bin/cpanm . && cd /root && curl -fLO 'https://www.cpan.org/authors/id/C/CH/CHRISN/Net-SSLeay-1.94.tar.gz' && echo '9d7be8a56d1bedda05c425306cc504ba134307e0c09bda4a788c98744ebcd95d *Net-SSLeay-1.94.tar.gz' | sha256sum --strict --check - && cpanm --from $PWD Net-SSLeay-1.94.tar.gz && curl -fLO 'https://www.cpan.org/authors/id/S/SU/SULLR/IO-Socket-SSL-2.085.tar.gz' && echo '95b2f7c0628a7e246a159665fbf0620d0d7835e3a940f22d3fdd47c3aa799c2e *IO-Socket-SSL-2.085.tar.gz' | sha256sum --strict --check - && SSL_CERT_DIR=/etc/ssl/certs cpanm --from $PWD IO-Socket-SSL-2.085.tar.gz && curl -fL https://raw.githubusercontent.com/skaji/cpm/0.997017/cpm -o /usr/local/bin/cpm && echo 'e3931a7d994c96f9c74b97d1b5b75a554fc4f06eadef1eca26ecc0bdcd1f2d11 */usr/local/bin/cpm' | sha256sum --strict --check - && chmod +x /usr/local/bin/cpm && true && rm -fr /root/.cpanm /root/Net-SSLeay-1.94* /root/IO-Socket-SSL-2.085* /usr/src/perl /usr/src/App-cpanminus-1.7047* /tmp/* && cpanm --version && cpm --version # buildkit
# Mon, 03 Mar 2025 18:37:38 GMT
WORKDIR /usr/src/app
# Mon, 03 Mar 2025 18:37:38 GMT
CMD ["perl5.38.4" "-de0" ]
# Mon, 03 Mar 2025 18:37:38 GMT
LABEL org.opencontainers.image.title=Unit (perl5.38)
# 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 perl && make -j $NCPU perl-install && make clean && ./configure $CONFIGURE_ARGS_MODULES --cc-opt="$CC_OPT" --modulesdir=/usr/lib/unit/modules && ./configure perl && make -j $NCPU perl-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; } && /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:71daa2c787b0984bbf3b93b60686fc9fe305d28e833914019b2745ab9f36730e
Last Modified: Tue, 08 Apr 2025 00:22:46 GMT
Size: 48.3 MB (48327469 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:9d81c64672754c46e5d99e385c8f3283bec2060a79ad7dacdb2f5ce904caa401
Last Modified: Tue, 08 Apr 2025 06:03:14 GMT
Size: 23.5 MB (23544339 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:ebf144460616b42eb1462fd80a5e1909e578b1e1f7285b185e468ba2b01308b9
Last Modified: Tue, 08 Apr 2025 12:18:06 GMT
Size: 64.4 MB (64355780 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:002e18bd5659ca9d155e99922678788bec836a3ac4964d8a9567ce59e2154de9
Last Modified: Tue, 08 Apr 2025 15:52:42 GMT
Size: 202.7 MB (202735307 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:2f600ef1fe5f8519bc507f7ff4eb810f784c1e3492c5cab05e5876e22beb6768
Last Modified: Tue, 08 Apr 2025 17:42:42 GMT
Size: 135.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:11ed1941bccbbcf329dac77fdcdc63b1fd3d8124ef552918d9238e104ab00acd
Last Modified: Mon, 14 Apr 2025 18:26:29 GMT
Size: 15.5 MB (15481713 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:92efced519024e95beb55a1d96f692cf33862e731b727571eb6846440ff86b4a
Last Modified: Mon, 14 Apr 2025 18:26:28 GMT
Size: 132.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:c1df6d5eb9c4e3411cbec9be3967f854a62fd2a9deade382fe2e2040771cbde1
Last Modified: Mon, 14 Apr 2025 19:49:48 GMT
Size: 21.0 MB (20994292 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:3e3411245ec6b935e3d1b77b79299bd42a0c2b2ec73c9ac9764f8ff8b7e2567c
Last Modified: Mon, 14 Apr 2025 19:49:47 GMT
Size: 1.3 KB (1262 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:4940fd4c7880efecbe75387824e1924ea94b9baef832d1e5cb8c94121e89468d
Last Modified: Mon, 14 Apr 2025 19:49:47 GMT
Size: 1.5 KB (1454 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
unit:1.34.2-perl5.38
- unknown; unknown
$ docker pull unit@sha256:4ff7fe9f1c0429372f8606a2c023839afdf57a5cdf8d1e4b70321c7a5c4018c7
Manifest MIME: application/vnd.docker.distribution.manifest.v2+json
Total Size: 27.6 KB (27650 bytes)
(compressed transfer size, not on-disk size)
Image ID: sha256:a954f9fa8ab3681f5894349b0a87fee6599a098a89902d486b4dbf349ce1651b
Layers:
sha256:eed4d3101f1e06f8520d57a2cb55af2bb160f958b47da6c92743af59b4e216fe
Last Modified: Mon, 14 Apr 2025 19:49:47 GMT
Size: 27.6 KB (27650 bytes)
MIME: application/vnd.in-toto+json