diff --git a/tools/ci-build/Dockerfile b/tools/ci-build/Dockerfile index 1c22b962e3a..87e92c2d9c8 100644 --- a/tools/ci-build/Dockerfile +++ b/tools/ci-build/Dockerfile @@ -127,14 +127,9 @@ ARG rust_nightly_version RUN cargo +${rust_nightly_version} -Z sparse-registry install wasm-pack --locked --version ${wasm_pack_version} FROM install_rust AS wasmtime -ARG wasmtime_precompiled_url=https://github.com/bytecodealliance/wasmtime/releases/download/v8.0.0/wasmtime-v8.0.0-x86_64-linux.tar.xz -ARG wasmtime_precompiled_sha256=0ba34842bbac8896dbdd860173b2c554d93d63ecc490f725fe3331db913714ad +ARG cargo_wasmtime_version=9.0.1 ARG rust_nightly_version -RUN set -eux; \ - curl "${wasmtime_precompiled_url}" -L -o wasmtime.xz; \ - echo "${wasmtime_precompiled_sha256} wasmtime.xz" | sha256sum --check; \ - tar xf wasmtime.xz; \ - mv wasmtime-v*/wasmtime /opt; +RUN cargo +${rust_nightly_version} -Z sparse-registry install wasmtime-cli --features="component-model" --locked --version ${wasm_pack_version} FROM install_rust AS cargo_wasi ARG cargo_wasi_version=0.1.27 @@ -178,7 +173,7 @@ COPY --chown=build:build --from=cargo_minimal_versions /opt/cargo/bin/cargo-mini COPY --chown=build:build --from=cargo_check_external_types /opt/cargo/bin/cargo-check-external-types /opt/cargo/bin/cargo-check-external-types COPY --chown=build:build --from=maturin /opt/cargo/bin/maturin /opt/cargo/bin/maturin COPY --chown=build:build --from=wasm_pack /opt/cargo/bin/wasm-pack /opt/cargo/bin/wasm-pack -COPY --chown=build:build --from=wasmtime /opt/wasmtime /opt/cargo/bin/wasmtime +COPY --chown=build:build --from=wasmtime /opt/cargo/bin/wasmtime /opt/cargo/bin/wasmtime COPY --chown=build:build --from=cargo_wasi /opt/cargo/bin/cargo-wasi /opt/cargo/bin/cargo-wasi COPY --chown=build:build --from=install_rust /opt/rustup /opt/rustup COPY --chown=build:build --from=cargo_semver_checks /opt/cargo/bin/cargo-semver-checks /opt/cargo/bin/cargo-semver-checks