@@ -6,7 +6,7 @@ LABEL org.opencontainers.image.url="https://unit.nginx.org"
6
6
LABEL org.opencontainers.image.source="https://github.com/nginx/unit"
7
7
LABEL org.opencontainers.image.documentation="https://unit.nginx.org/installation/#docker-images"
8
8
LABEL org.opencontainers.image.vendor="NGINX Docker Maintainers <
[email protected] >"
9
- LABEL org.opencontainers.image.version="1.31.1 "
9
+ LABEL org.opencontainers.image.version="1.32.0 "
10
10
11
11
RUN set -ex \
12
12
&& savedAptMark="$(apt-mark showmanual)" \
@@ -15,7 +15,7 @@ RUN set -ex \
15
15
&& mkdir -p /usr/lib/unit/modules /usr/lib/unit/debug-modules \
16
16
&& mkdir -p /usr/src/unit \
17
17
&& cd /usr/src/unit \
18
- && git clone --depth 1 -b 1.31.1 -1 https://github.com/nginx/unit \
18
+ && git clone --depth 1 -b 1.32.0 -1 https://github.com/nginx/unit \
19
19
&& cd unit \
20
20
&& NCPU="$(getconf _NPROCESSORS_ONLN)" \
21
21
&& DEB_HOST_MULTIARCH="$(dpkg-architecture -q DEB_HOST_MULTIARCH)" \
@@ -45,7 +45,8 @@ RUN set -ex \
45
45
&& make -j $NCPU unitd \
46
46
&& install -pm755 build/sbin/unitd /usr/sbin/unitd \
47
47
&& make clean \
48
- && export RUST_VERSION=1.71.0 \
48
+ && apt-get install --no-install-recommends --no-install-suggests -y libclang-dev \
49
+ && export RUST_VERSION=1.76.0 \
49
50
&& export RUSTUP_HOME=/usr/src/unit/rustup \
50
51
&& export CARGO_HOME=/usr/src/unit/cargo \
51
52
&& export PATH=/usr/src/unit/cargo/bin:$PATH \
@@ -67,12 +68,12 @@ RUN set -ex \
67
68
&& make -C pkg/contrib .wasmtime \
68
69
&& install -pm 755 pkg/contrib/wasmtime/target/release/libwasmtime.so /usr/lib/$(dpkg-architecture -q DEB_HOST_MULTIARCH)/ \
69
70
&& ./configure $CONFIGURE_ARGS_MODULES --cc-opt="$CC_OPT" --modulesdir=/usr/lib/unit/debug-modules --debug \
70
- && ./configure wasm --include-path=`pwd`/pkg/contrib/wasmtime/crates/c-api/include --lib-path=/usr/lib/$(dpkg-architecture -q DEB_HOST_MULTIARCH)/ \
71
- && make -j $NCPU wasm-install \
71
+ && ./configure wasm --include-path=`pwd`/pkg/contrib/wasmtime/crates/c-api/include --lib-path=/usr/lib/$(dpkg-architecture -q DEB_HOST_MULTIARCH)/ && ./configure wasm-wasi-component \
72
+ && make -j $NCPU wasm-install wasm-wasi-component-install \
72
73
&& make clean \
73
74
&& ./configure $CONFIGURE_ARGS_MODULES --cc-opt="$CC_OPT" --modulesdir=/usr/lib/unit/modules \
74
- && ./configure wasm --include-path=`pwd`/pkg/contrib/wasmtime/crates/c-api/include --lib-path=/usr/lib/$(dpkg-architecture -q DEB_HOST_MULTIARCH)/ \
75
- && make -j $NCPU wasm-install \
75
+ && ./configure wasm --include-path=`pwd`/pkg/contrib/wasmtime/crates/c-api/include --lib-path=/usr/lib/$(dpkg-architecture -q DEB_HOST_MULTIARCH)/ && ./configure wasm-wasi-component \
76
+ && make -j $NCPU wasm-install wasm-wasi-component-install \
76
77
&& cd \
77
78
&& rm -rf /usr/src/unit \
78
79
&& for f in /usr/sbin/unitd /usr/lib/unit/modules/*.unit.so; do \
0 commit comments