Skip to content

Commit

Permalink
chore: Add Rust beta toolchain to container images
Browse files Browse the repository at this point in the history
  • Loading branch information
vadorovsky committed Oct 27, 2024
1 parent 49c1ef8 commit f03f4bc
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions containers/Dockerfile.cross-aarch64-unknown-linux-gnu
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,10 @@ RUN dpkg --add-architecture arm64 \
&& rm -f llvm.sh \
&& curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y \
&& rustup toolchain install stable --component rust-src \
&& rustup toolchain install beta --component rust-src \
&& rustup toolchain install nightly --component rust-src \
&& rustup target add aarch64-unknown-linux-gnu \
&& rustup +beta target add aarch64-unknown-linux-gnu \
&& rustup +nightly target add aarch64-unknown-linux-gnu \
&& cargo install btfdump \
&& rm -rf /var/lib/apt/lists/*
2 changes: 2 additions & 0 deletions containers/Dockerfile.cross-aarch64-unknown-linux-musl
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,10 @@ RUN emerge --sync --quiet \
sys-libs/zlib \
&& curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y \
&& rustup toolchain install stable --component rust-src \
&& rustup toolchain install beta --component rust-src \
&& rustup toolchain install nightly --component rust-src \
&& rustup target add aarch64-unknown-linux-musl \
&& rustup +beta target add aarch64-unknown-linux-musl \
&& rustup +nightly target add aarch64-unknown-linux-musl \
&& cargo install btfdump \
&& rm -rf \
Expand Down
2 changes: 2 additions & 0 deletions containers/Dockerfile.cross-riscv64gc-unknown-linux-gnu
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,10 @@ RUN dpkg --add-architecture riscv64 \
&& rm -f llvm.sh \
&& curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y \
&& rustup toolchain install stable --component rust-src \
&& rustup toolchain install beta --component rust-src \
&& rustup toolchain install nightly --component rust-src \
&& rustup target add riscv64gc-unknown-linux-gnu \
&& rustup +beta target add riscv64gc-unknown-linux-gnu \
&& rustup +nightly target add riscv64gc-unknown-linux-gnu \
&& cargo install btfdump \
&& rm -rf /var/lib/apt/lists/*
1 change: 1 addition & 0 deletions containers/Dockerfile.native-x86_64-unknown-linux-gnu
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ RUN apt update \
&& rm -f llvm.sh \
&& curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y \
&& rustup toolchain install stable --component rust-src \
&& rustup toolchain install beta --component rust-src \
&& rustup toolchain install nightly --component rust-src \
&& cargo install btfdump \
&& rm -rf /var/lib/apt/lists/*
1 change: 1 addition & 0 deletions containers/Dockerfile.native-x86_64-unknown-linux-musl
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ RUN emerge --sync --quiet \
&& emerge sys-libs/llvm-libgcc \
&& curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y \
&& rustup toolchain install stable --component rust-src \
&& rustup toolchain install beta --component rust-src \
&& rustup toolchain install nightly --component rust-src \
&& cargo install btfdump \
&& rm -rf \
Expand Down

0 comments on commit f03f4bc

Please sign in to comment.