Skip to content

Commit

Permalink
[dockerfile] prepare toolchain
Browse files Browse the repository at this point in the history
  • Loading branch information
ZR233 committed Jan 6, 2025
1 parent 0b1f95a commit c7c25c5
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,16 @@ RUN apt-get update \

RUN cargo install cargo-binutils axconfig-gen

RUN cargo init /rust-test

WORKDIR /rust-test

COPY rust-toolchain.toml /rust-test/rust-toolchain.toml

RUN cargo build

WORKDIR /

RUN wget https://musl.cc/aarch64-linux-musl-cross.tgz \
&& wget https://musl.cc/riscv64-linux-musl-cross.tgz \
&& wget https://musl.cc/x86_64-linux-musl-cross.tgz \
Expand Down

0 comments on commit c7c25c5

Please sign in to comment.