-
-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This will be used for running tests using Alpine/musl.
- Loading branch information
1 parent
3a17396
commit 742e1c2
Showing
2 changed files
with
18 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
FROM alpine:3 | ||
|
||
ENV LLVM_VERSION 17 | ||
ENV RUST_VERSION 1.78 | ||
|
||
ENV PATH /opt/cargo/bin:$PATH | ||
ENV RUSTUP_HOME /opt/rustup | ||
ENV CARGO_HOME /opt/cargo | ||
|
||
RUN apk add --update build-base tar git rustup \ | ||
llvm$LLVM_VERSION llvm$LLVM_VERSION-dev libstdc++-dev | ||
|
||
RUN rustup-init --quiet -y --no-modify-path --profile minimal \ | ||
--component clippy,rustfmt --default-toolchain $RUST_VERSION |