diff --git a/key-provider-build/Dockerfile.key-provider b/key-provider-build/Dockerfile.key-provider index fc52ae66..a37f1f74 100644 --- a/key-provider-build/Dockerfile.key-provider +++ b/key-provider-build/Dockerfile.key-provider @@ -8,7 +8,7 @@ RUN apt-get update && apt-get install -y \ build-essential=12.8ubuntu1.1 \ && rm -rf /var/lib/apt/lists/* -RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --default-toolchain 1.80 -y +RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --default-toolchain 1.92 -y ENV PATH="/root/.cargo/bin:${PATH}" # Set environment variables @@ -39,4 +39,4 @@ RUN gramine-sgx-sigstruct-view --output-format json gramine-sealing-key-provider COPY entrypoint-key-provider.sh /entrypoint.sh RUN chmod +x /entrypoint.sh -ENTRYPOINT ["/entrypoint.sh"] \ No newline at end of file +ENTRYPOINT ["/entrypoint.sh"] diff --git a/rust-toolchain.toml b/rust-toolchain.toml new file mode 100644 index 00000000..2550ccc8 --- /dev/null +++ b/rust-toolchain.toml @@ -0,0 +1,8 @@ +# SPDX-FileCopyrightText: © 2025 Phala Network +# +# SPDX-License-Identifier: Apache-2.0 + +[toolchain] +channel = "1.92" +components = ["rustfmt", "clippy", "rust-analyzer"] +targets = ["wasm32-unknown-unknown", "x86_64-unknown-linux-musl", "thumbv6m-none-eabi"]