forked from tnballo/high-assurance-rust
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add separate Dockerfile for aarch64 (Apple silicon, etc) per tnballo#5.…
… No rr, it's x86 only
- Loading branch information
Showing
2 changed files
with
30 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,28 @@ | ||
# aarch64 (Apple silicon, etc) | ||
FROM arm64v8/rust:1.59-slim | ||
|
||
# Non-Rust tooling | ||
ENV TZ=US/New_York | ||
RUN apt-get update -y | ||
RUN DEBIAN_FRONTEND="noninteractive" apt-get update && apt-get install -y \ | ||
build-essential \ | ||
libssl-dev \ | ||
pkg-config \ | ||
tree \ | ||
xxd \ | ||
git \ | ||
vim | ||
|
||
# Rust tooling | ||
RUN rustup toolchain install nightly | ||
RUN rustup component add llvm-tools-preview | ||
RUN cargo install mdbook | ||
RUN cargo install cargo-fuzz | ||
RUN cargo install cargo-binutils | ||
RUN cargo install cargo-modules | ||
RUN cargo install cargo-audit | ||
|
||
# Src import | ||
RUN mkdir /code_snippets | ||
WORKDIR /code_snippets | ||
COPY ./code_snippets /code_snippets/ |