Skip to content

Commit

Permalink
[Dockerfile] Update Rust version & add Windows ARM64 target (#285)
Browse files Browse the repository at this point in the history
* [Dockerfile] Update Rust version & add Windows ARM64 target

* Update CI.yml

* [Dockerfile] Update Zig version to 0.13.0

* Discard changes to .github/workflows/CI.yml

* [Dockerfile] Revert Zig back to 0.10.1
  • Loading branch information
vedantmgoyal9 authored Oct 22, 2024
1 parent 26090d8 commit c9b9efa
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG RUST_VERSION=1.79.0
ARG RUST_VERSION=1.82.0

FROM rust:$RUST_VERSION as builder

Check warning on line 3 in Dockerfile

View workflow job for this annotation

GitHub Actions / Build Docker Image

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Expand Down Expand Up @@ -39,6 +39,7 @@ RUN rustup target add \
arm-unknown-linux-musleabihf \
x86_64-apple-darwin \
aarch64-apple-darwin \
x86_64-pc-windows-gnu
x86_64-pc-windows-gnu \
aarch64-pc-windows-gnullvm

COPY --from=builder /cargo-zigbuild/target/release/cargo-zigbuild /usr/local/cargo/bin/

0 comments on commit c9b9efa

Please sign in to comment.