Skip to content

Commit bc87e54

Browse files
committed
Update devcontainer with tools for musl
Signed-off-by: James Sturtevant <jsturtevant@gmail.com>
1 parent 112bbdc commit bc87e54

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.devcontainer/Dockerfile

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ RUN apt-get update \
2222
make \
2323
software-properties-common \
2424
sudo \
25-
wget
25+
wget \
26+
musl-tools
2627

2728
ARG LLVM_VERSION=18
2829

@@ -54,7 +55,9 @@ ARG RUST_TOOLCHAIN=1.86
5455
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y \
5556
&& rustup default ${RUST_TOOLCHAIN} \
5657
&& rustup target add x86_64-unknown-linux-gnu \
58+
&& rustup target add x86_64-unknown-linux-musl \
5759
&& rustup target add x86_64-unknown-none \
5860
&& rustup toolchain add nightly-x86_64-unknown-linux-gnu \
59-
&& cargo install just
60-
61+
&& rustup toolchain add nightly-x86_64-unknown-linux-musl \
62+
&& cargo install just \
63+
cargo install cross --locked --version 0.2.5

0 commit comments

Comments
 (0)