$ docker pull unit@sha256:e1099c7adbeade8de7f42f23603736c5e73426ffa8f9cffe14c093133f4384e6
Manifest MIME: application/vnd.oci.image.index.v1+json
Platforms: 4
linux; amd64
unknown; unknown
linux; arm64 variant v8
unknown; unknown
unit:jsc11
- linux; amd64
$ docker pull unit@sha256:466da5e404df97ff7ab05ee6ce82bdf5f473b4eee3cfc12a5eeed3b1aac0adbf
Manifest MIME: application/vnd.docker.distribution.manifest.v2+json
Total Size: 219.9 MB (219905822 bytes)
(compressed transfer size, not on-disk size)
Image ID: sha256:7cee594f8f9a0a1a2644b2d4a0b08a9d046f59b3156ef0c2139627fedcc5bb2b
Entrypoint: ["\/usr\/local\/bin\/docker-entrypoint.sh"]
Default Command: ["unitd","--no-daemon","--control","unix:\/var\/run\/control.unit.sock"]
# Thu, 30 Jan 2025 14:32:57 GMT
ARG RELEASE
# Thu, 30 Jan 2025 14:32:57 GMT
ARG LAUNCHPAD_BUILD_ARCH
# Thu, 30 Jan 2025 14:32:57 GMT
LABEL org.opencontainers.image.ref.name=ubuntu
# Thu, 30 Jan 2025 14:32:57 GMT
LABEL org.opencontainers.image.version=22.04
# Thu, 30 Jan 2025 14:32:57 GMT
ADD file:433cf0b8353e08be3a6582ad5947c57a66bdbb842ed3095246a1ff6876d157f1 in /
# Thu, 30 Jan 2025 14:32:57 GMT
CMD ["/bin/bash" ]
# Thu, 30 Jan 2025 14:32:57 GMT
ENV JAVA_HOME=/opt/java/openjdk
# Thu, 30 Jan 2025 14:32:57 GMT
ENV PATH=/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
# Thu, 30 Jan 2025 14:32:57 GMT
ENV LANG=en_US.UTF-8 LANGUAGE=en_US:en LC_ALL=en_US.UTF-8
# Thu, 30 Jan 2025 14:32:57 GMT
RUN set -eux; apt-get update; DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends curl wget gnupg fontconfig ca-certificates p11-kit tzdata locales ; echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen; locale-gen en_US.UTF-8; rm -rf /var/lib/apt/lists/* # buildkit
# Thu, 30 Jan 2025 14:32:57 GMT
ENV JAVA_VERSION=jdk-11.0.26+4
# Thu, 30 Jan 2025 14:32:57 GMT
RUN set -eux; ARCH="$(dpkg --print-architecture)"; case "${ARCH}" in amd64) ESUM='7def4c5807b38ef1a7bb30a86572a795ca604127cc8d1f5b370abf23618104e6'; BINARY_URL='https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.26%2B4/OpenJDK11U-jdk_x64_linux_hotspot_11.0.26_4.tar.gz'; ;; arm64) ESUM='e7b3d37c347fe7af2a53711f16da8b9b164748ce4a84e47bb0739c3be7f1c421'; BINARY_URL='https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.26%2B4/OpenJDK11U-jdk_aarch64_linux_hotspot_11.0.26_4.tar.gz'; ;; armhf) ESUM='79d574328f6960d40349996ef8c5949581f9e533dc76f134857c4125c78558ff'; BINARY_URL='https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.26%2B4/OpenJDK11U-jdk_arm_linux_hotspot_11.0.26_4.tar.gz'; ;; ppc64el) ESUM='42c63651125a149cee2ba781300d75ffa67a25032f95038d50ee6d6177cb2e41'; BINARY_URL='https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.26%2B4/OpenJDK11U-jdk_ppc64le_linux_hotspot_11.0.26_4.tar.gz'; ;; s390x) ESUM='0da13d990da34ecc666399cf0efa72a4b4e295f05c0686ea25a4a173a6f4414b'; BINARY_URL='https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.26%2B4/OpenJDK11U-jdk_s390x_linux_hotspot_11.0.26_4.tar.gz'; ;; *) echo "Unsupported arch: ${ARCH}"; exit 1; ;; esac; wget --progress=dot:giga -O /tmp/openjdk.tar.gz ${BINARY_URL}; wget --progress=dot:giga -O /tmp/openjdk.tar.gz.sig ${BINARY_URL}.sig; export GNUPGHOME="$(mktemp -d)"; gpg --batch --keyserver keyserver.ubuntu.com --recv-keys 3B04D753C9050D9A5D343F39843C48A565F8F04B; gpg --batch --verify /tmp/openjdk.tar.gz.sig /tmp/openjdk.tar.gz; rm -rf "${GNUPGHOME}" /tmp/openjdk.tar.gz.sig; echo "${ESUM} */tmp/openjdk.tar.gz" | sha256sum -c -; mkdir -p "$JAVA_HOME"; tar --extract --file /tmp/openjdk.tar.gz --directory "$JAVA_HOME" --strip-components 1 --no-same-owner ; rm -f /tmp/openjdk.tar.gz ${JAVA_HOME}/lib/src.zip; find "$JAVA_HOME/lib" -name '*.so' -exec dirname '{}' ';' | sort -u > /etc/ld.so.conf.d/docker-openjdk.conf; ldconfig; java -Xshare:dump; # buildkit
# Thu, 30 Jan 2025 14:32:57 GMT
RUN set -eux; echo "Verifying install ..." ; fileEncoding="$(echo 'System.out.println(System.getProperty(" file.encoding"))' | jshell -s -)" ; [ "$fileEncoding" = 'UTF-8' ]; rm -rf ~/.java; echo "javac --version" ; javac --version; echo "java --version" ; java --version; echo "Complete." # buildkit
# Thu, 30 Jan 2025 14:32:57 GMT
COPY --chmod=755 entrypoint.sh /__cacert_entrypoint.sh # buildkit
# Thu, 30 Jan 2025 14:32:57 GMT
ENTRYPOINT ["/__cacert_entrypoint.sh" ]
# Thu, 30 Jan 2025 14:32:57 GMT
CMD ["jshell" ]
# Mon, 03 Mar 2025 18:37:38 GMT
LABEL org.opencontainers.image.title=Unit (jsc11)
# 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 java --jars=/usr/share/unit-jsc-common/ && make -j $NCPU java-shared-install java-install && make clean && ./configure $CONFIGURE_ARGS_MODULES --cc-opt="$CC_OPT" --modulesdir=/usr/lib/unit/modules && ./configure java --jars=/usr/share/unit-jsc-common/ && make -j $NCPU java-shared-install java-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; } && rm -rf /root/.m2 && 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:30a9c22ae099393b0131322d7f50d8a9d7cd06c5e518cd27a19ac960a4d0aba3
Last Modified: Mon, 07 Apr 2025 08:26:26 GMT
Size: 29.5 MB (29532365 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:b54506c4838ad6d3a8d9661ee544a95d91e851847b40c2ee85c693921a6cc43d
Last Modified: Wed, 09 Apr 2025 01:15:37 GMT
Size: 16.1 MB (16146031 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:473f219e2b1687296fe069312830215bd77cada5bf111769b7a9c085e8b73edb
Last Modified: Wed, 09 Apr 2025 01:15:41 GMT
Size: 145.6 MB (145607790 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:bef971a82f787d0c6600e2d79528604ee94829c5094e62fd488a16503ae709c1
Last Modified: Wed, 09 Apr 2025 01:15:36 GMT
Size: 158.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:178c66146304559b5b9efecae9527ce1f43c667d4c402a00cdf5e15a8ffe3cbd
Last Modified: Wed, 09 Apr 2025 01:15:20 GMT
Size: 2.3 KB (2282 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:439f547c5e819c9879ddd363f198fa1e3f3100de3d4e2c13b9694de091048f38
Last Modified: Wed, 09 Apr 2025 02:21:29 GMT
Size: 28.6 MB (28614486 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:83a5ef2ffdc4da92a0ff81a19d0aa8375ae673b063fd6382cc9a689402654e7c
Last Modified: Wed, 09 Apr 2025 02:21:28 GMT
Size: 1.3 KB (1264 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:ba6997f8110b320a3741dc8476b92184e0f6bf11e62d0317326b5ccbeceec05e
Last Modified: Wed, 09 Apr 2025 02:21:28 GMT
Size: 1.4 KB (1446 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
unit:jsc11
- unknown; unknown
$ docker pull unit@sha256:910eab4a368250218d3b930366b2872c19696a8ce43eb14e48b8341837bc45e8
Manifest MIME: application/vnd.docker.distribution.manifest.v2+json
Total Size: 27.0 KB (26995 bytes)
(compressed transfer size, not on-disk size)
Image ID: sha256:83fd6c1222eabd9c835f63234d327fe7b8c28a358501abee9eff51c3cd64bcbd
Layers:
sha256:154a3af795c1bfe41857f6019cd1f203a9940aca4973652a6eb37cf9a30dde34
Last Modified: Wed, 09 Apr 2025 02:21:28 GMT
Size: 27.0 KB (26995 bytes)
MIME: application/vnd.in-toto+json
unit:jsc11
- linux; arm64 variant v8
$ docker pull unit@sha256:a65ed8241ece2042ea50394c6c2418c65f82d4ee503b294e2676764943130d23
Manifest MIME: application/vnd.docker.distribution.manifest.v2+json
Total Size: 213.8 MB (213842606 bytes)
(compressed transfer size, not on-disk size)
Image ID: sha256:488220ba67a3c2473e201bb2e11ef33e9f6d71cebd2d381118780b5fb7203aa2
Entrypoint: ["\/usr\/local\/bin\/docker-entrypoint.sh"]
Default Command: ["unitd","--no-daemon","--control","unix:\/var\/run\/control.unit.sock"]
# Thu, 30 Jan 2025 14:32:57 GMT
ARG RELEASE
# Thu, 30 Jan 2025 14:32:57 GMT
ARG LAUNCHPAD_BUILD_ARCH
# Thu, 30 Jan 2025 14:32:57 GMT
LABEL org.opencontainers.image.ref.name=ubuntu
# Thu, 30 Jan 2025 14:32:57 GMT
LABEL org.opencontainers.image.version=22.04
# Thu, 30 Jan 2025 14:32:57 GMT
ADD file:f7fa9c3fec404bf0500211305250f795384645b6032774d9641b0dae7d5fac61 in /
# Thu, 30 Jan 2025 14:32:57 GMT
CMD ["/bin/bash" ]
# Thu, 30 Jan 2025 14:32:57 GMT
ENV JAVA_HOME=/opt/java/openjdk
# Thu, 30 Jan 2025 14:32:57 GMT
ENV PATH=/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
# Thu, 30 Jan 2025 14:32:57 GMT
ENV LANG=en_US.UTF-8 LANGUAGE=en_US:en LC_ALL=en_US.UTF-8
# Thu, 30 Jan 2025 14:32:57 GMT
RUN set -eux; apt-get update; DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends curl wget gnupg fontconfig ca-certificates p11-kit tzdata locales ; echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen; locale-gen en_US.UTF-8; rm -rf /var/lib/apt/lists/* # buildkit
# Thu, 30 Jan 2025 14:32:57 GMT
ENV JAVA_VERSION=jdk-11.0.26+4
# Thu, 30 Jan 2025 14:32:57 GMT
RUN set -eux; ARCH="$(dpkg --print-architecture)"; case "${ARCH}" in amd64) ESUM='7def4c5807b38ef1a7bb30a86572a795ca604127cc8d1f5b370abf23618104e6'; BINARY_URL='https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.26%2B4/OpenJDK11U-jdk_x64_linux_hotspot_11.0.26_4.tar.gz'; ;; arm64) ESUM='e7b3d37c347fe7af2a53711f16da8b9b164748ce4a84e47bb0739c3be7f1c421'; BINARY_URL='https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.26%2B4/OpenJDK11U-jdk_aarch64_linux_hotspot_11.0.26_4.tar.gz'; ;; armhf) ESUM='79d574328f6960d40349996ef8c5949581f9e533dc76f134857c4125c78558ff'; BINARY_URL='https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.26%2B4/OpenJDK11U-jdk_arm_linux_hotspot_11.0.26_4.tar.gz'; ;; ppc64el) ESUM='42c63651125a149cee2ba781300d75ffa67a25032f95038d50ee6d6177cb2e41'; BINARY_URL='https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.26%2B4/OpenJDK11U-jdk_ppc64le_linux_hotspot_11.0.26_4.tar.gz'; ;; s390x) ESUM='0da13d990da34ecc666399cf0efa72a4b4e295f05c0686ea25a4a173a6f4414b'; BINARY_URL='https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.26%2B4/OpenJDK11U-jdk_s390x_linux_hotspot_11.0.26_4.tar.gz'; ;; *) echo "Unsupported arch: ${ARCH}"; exit 1; ;; esac; wget --progress=dot:giga -O /tmp/openjdk.tar.gz ${BINARY_URL}; wget --progress=dot:giga -O /tmp/openjdk.tar.gz.sig ${BINARY_URL}.sig; export GNUPGHOME="$(mktemp -d)"; gpg --batch --keyserver keyserver.ubuntu.com --recv-keys 3B04D753C9050D9A5D343F39843C48A565F8F04B; gpg --batch --verify /tmp/openjdk.tar.gz.sig /tmp/openjdk.tar.gz; rm -rf "${GNUPGHOME}" /tmp/openjdk.tar.gz.sig; echo "${ESUM} */tmp/openjdk.tar.gz" | sha256sum -c -; mkdir -p "$JAVA_HOME"; tar --extract --file /tmp/openjdk.tar.gz --directory "$JAVA_HOME" --strip-components 1 --no-same-owner ; rm -f /tmp/openjdk.tar.gz ${JAVA_HOME}/lib/src.zip; find "$JAVA_HOME/lib" -name '*.so' -exec dirname '{}' ';' | sort -u > /etc/ld.so.conf.d/docker-openjdk.conf; ldconfig; java -Xshare:dump; # buildkit
# Thu, 30 Jan 2025 14:32:57 GMT
RUN set -eux; echo "Verifying install ..." ; fileEncoding="$(echo 'System.out.println(System.getProperty(" file.encoding"))' | jshell -s -)" ; [ "$fileEncoding" = 'UTF-8' ]; rm -rf ~/.java; echo "javac --version" ; javac --version; echo "java --version" ; java --version; echo "Complete." # buildkit
# Thu, 30 Jan 2025 14:32:57 GMT
COPY --chmod=755 entrypoint.sh /__cacert_entrypoint.sh # buildkit
# Thu, 30 Jan 2025 14:32:57 GMT
ENTRYPOINT ["/__cacert_entrypoint.sh" ]
# Thu, 30 Jan 2025 14:32:57 GMT
CMD ["jshell" ]
# Mon, 03 Mar 2025 18:37:38 GMT
LABEL org.opencontainers.image.title=Unit (jsc11)
# 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 java --jars=/usr/share/unit-jsc-common/ && make -j $NCPU java-shared-install java-install && make clean && ./configure $CONFIGURE_ARGS_MODULES --cc-opt="$CC_OPT" --modulesdir=/usr/lib/unit/modules && ./configure java --jars=/usr/share/unit-jsc-common/ && make -j $NCPU java-shared-install java-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; } && rm -rf /root/.m2 && 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:7b76bc00f23a24375cf6b51079ebcf72fb02d56fa741b31e5f979672fc65c576
Last Modified: Mon, 07 Apr 2025 08:26:32 GMT
Size: 27.4 MB (27354231 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:0d988c284109adb0ee08f6d6a95a152f6e364456e1a4853bb6c3ebc58c40f099
Last Modified: Wed, 09 Apr 2025 06:58:01 GMT
Size: 16.1 MB (16059566 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:d0b93355c09d3679e69d2294facdb3e8de4d0f85d5ca944f999951d1b5525be2
Last Modified: Wed, 09 Apr 2025 07:01:13 GMT
Size: 142.4 MB (142391853 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:25274b793b85bdc93ad8ac835716d20070f5ed46a2a985b91212ba213c0a5d8b
Last Modified: Wed, 09 Apr 2025 07:01:08 GMT
Size: 158.0 B
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:67600a58dd31b51963816f8158abeb073a6ae16b11bb2faa2704ac382e1d1099
Last Modified: Wed, 09 Apr 2025 07:01:08 GMT
Size: 2.3 KB (2282 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:92e8939013ae147444616785bc2c059a7665c8ccfa8db130f30c7003bce5cae6
Last Modified: Wed, 09 Apr 2025 17:02:07 GMT
Size: 28.0 MB (28031798 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:afab1cc51f44eea85f496bbb30ff3a1d514c7292f6c6e74f20917591b9791323
Last Modified: Wed, 09 Apr 2025 17:02:06 GMT
Size: 1.3 KB (1264 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
sha256:317cc1ca3c2ff5f4e2173fcd93ac85202270b4719508b656b7c251e8150f57ef
Last Modified: Wed, 09 Apr 2025 17:02:06 GMT
Size: 1.5 KB (1454 bytes)
MIME: application/vnd.oci.image.layer.v1.tar+gzip
unit:jsc11
- unknown; unknown
$ docker pull unit@sha256:87fa91695893f4e87970744b31038487100e71613b026c52593c69b97f41e850
Manifest MIME: application/vnd.docker.distribution.manifest.v2+json
Total Size: 27.1 KB (27087 bytes)
(compressed transfer size, not on-disk size)
Image ID: sha256:d55a38c34cb246d9889cff46263ee0b6f79bdb80618d4fbcc915a80f7c087c82
Layers:
sha256:be70c62825eb127c71006c426d615ebad5fdd363a529db57391dbac4d4e766b9
Last Modified: Wed, 09 Apr 2025 17:02:05 GMT
Size: 27.1 KB (27087 bytes)
MIME: application/vnd.in-toto+json