feat(docker): install Rust toolchain (rustup) and add aarch64 cross-compilation support to Docker images
This commit is contained in:
@@ -57,6 +57,10 @@ RUN NVM_MUSL_ARCH=$([ "$TARGETARCH" = "arm64" ] && echo "arm64-musl" || echo "x6
|
||||
&& pnpm config set unsafe-perm true \
|
||||
&& pnpm install -g @ship.zone/szci
|
||||
|
||||
# Install Rust
|
||||
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
|
||||
ENV PATH="/root/.cargo/bin:$PATH"
|
||||
|
||||
ENV NODE_PATH=$NVM_DIR/versions/node/v$NODE_VERSION_LTS/lib/node_modules
|
||||
ENV PATH=$NVM_DIR/versions/node/v$NODE_VERSION_LTS/bin:$PATH
|
||||
|
||||
|
||||
Reference in New Issue
Block a user