diff --git a/orchestration/Dockerfile.parts/Dockerfile.serai.build b/orchestration/Dockerfile.parts/Dockerfile.serai.build index 87b65cf2..be3af423 100644 --- a/orchestration/Dockerfile.parts/Dockerfile.serai.build +++ b/orchestration/Dockerfile.parts/Dockerfile.serai.build @@ -11,6 +11,9 @@ RUN apt install -y pkg-config clang # Dependencies for the Serai node RUN apt install -y make protobuf-compiler +# Add the wasm toolchain +RUN rustup target add wasm32-unknown-unknown + # Add files for build ADD common /serai/common ADD crypto /serai/crypto @@ -27,9 +30,6 @@ ADD AGPL-3.0 /serai WORKDIR /serai -# Add the wasm toolchain -RUN rustup target add wasm32-unknown-unknown - # Mount the caches and build RUN --mount=type=cache,target=/root/.cargo \ --mount=type=cache,target=/usr/local/cargo/registry \ diff --git a/orchestration/coordinator/Dockerfile b/orchestration/coordinator/Dockerfile index 7b874ed6..edace88c 100644 --- a/orchestration/coordinator/Dockerfile +++ b/orchestration/coordinator/Dockerfile @@ -21,6 +21,9 @@ RUN apt install -y pkg-config clang # Dependencies for the Serai node RUN apt install -y make protobuf-compiler +# Add the wasm toolchain +RUN rustup target add wasm32-unknown-unknown + # Add files for build ADD common /serai/common ADD crypto /serai/crypto @@ -37,9 +40,6 @@ ADD AGPL-3.0 /serai WORKDIR /serai -# Add the wasm toolchain -RUN rustup target add wasm32-unknown-unknown - # Mount the caches and build RUN --mount=type=cache,target=/root/.cargo \ --mount=type=cache,target=/usr/local/cargo/registry \ diff --git a/orchestration/message-queue/Dockerfile b/orchestration/message-queue/Dockerfile index a35ceaad..d9728dc8 100644 --- a/orchestration/message-queue/Dockerfile +++ b/orchestration/message-queue/Dockerfile @@ -21,6 +21,9 @@ RUN apt install -y pkg-config clang # Dependencies for the Serai node RUN apt install -y make protobuf-compiler +# Add the wasm toolchain +RUN rustup target add wasm32-unknown-unknown + # Add files for build ADD common /serai/common ADD crypto /serai/crypto @@ -37,9 +40,6 @@ ADD AGPL-3.0 /serai WORKDIR /serai -# Add the wasm toolchain -RUN rustup target add wasm32-unknown-unknown - # Mount the caches and build RUN --mount=type=cache,target=/root/.cargo \ --mount=type=cache,target=/usr/local/cargo/registry \ diff --git a/orchestration/processor/bitcoin/Dockerfile b/orchestration/processor/bitcoin/Dockerfile index 3446f2f4..31fb5721 100644 --- a/orchestration/processor/bitcoin/Dockerfile +++ b/orchestration/processor/bitcoin/Dockerfile @@ -21,6 +21,9 @@ RUN apt install -y pkg-config clang # Dependencies for the Serai node RUN apt install -y make protobuf-compiler +# Add the wasm toolchain +RUN rustup target add wasm32-unknown-unknown + # Add files for build ADD common /serai/common ADD crypto /serai/crypto @@ -37,9 +40,6 @@ ADD AGPL-3.0 /serai WORKDIR /serai -# Add the wasm toolchain -RUN rustup target add wasm32-unknown-unknown - # Mount the caches and build RUN --mount=type=cache,target=/root/.cargo \ --mount=type=cache,target=/usr/local/cargo/registry \ diff --git a/orchestration/processor/monero/Dockerfile b/orchestration/processor/monero/Dockerfile index 21003a1c..038ccb76 100644 --- a/orchestration/processor/monero/Dockerfile +++ b/orchestration/processor/monero/Dockerfile @@ -21,6 +21,9 @@ RUN apt install -y pkg-config clang # Dependencies for the Serai node RUN apt install -y make protobuf-compiler +# Add the wasm toolchain +RUN rustup target add wasm32-unknown-unknown + # Add files for build ADD common /serai/common ADD crypto /serai/crypto @@ -37,9 +40,6 @@ ADD AGPL-3.0 /serai WORKDIR /serai -# Add the wasm toolchain -RUN rustup target add wasm32-unknown-unknown - # Mount the caches and build RUN --mount=type=cache,target=/root/.cargo \ --mount=type=cache,target=/usr/local/cargo/registry \ diff --git a/orchestration/serai/Dockerfile b/orchestration/serai/Dockerfile index 883a2227..0fa6f9b3 100644 --- a/orchestration/serai/Dockerfile +++ b/orchestration/serai/Dockerfile @@ -21,6 +21,9 @@ RUN apt install -y pkg-config clang # Dependencies for the Serai node RUN apt install -y make protobuf-compiler +# Add the wasm toolchain +RUN rustup target add wasm32-unknown-unknown + # Add files for build ADD common /serai/common ADD crypto /serai/crypto @@ -37,9 +40,6 @@ ADD AGPL-3.0 /serai WORKDIR /serai -# Add the wasm toolchain -RUN rustup target add wasm32-unknown-unknown - # Mount the caches and build RUN --mount=type=cache,target=/root/.cargo \ --mount=type=cache,target=/usr/local/cargo/registry \