-
Notifications
You must be signed in to change notification settings - Fork 50
fix: build vm strategy for the arm machine #1485
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
e61c20f
66a1e8c
adfcc81
cffdc4d
91d7a40
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,13 +1,12 @@ | ||
| FROM rust:1.65.0 as base | ||
| FROM rust:1.66-alpine as base | ||
|
|
||
| # Install the wasm32 rust build target | ||
| RUN rustup target add wasm32-unknown-unknown | ||
|
|
||
| WORKDIR /build-deps | ||
|
|
||
| # Install curl | ||
| RUN apt-get update | ||
| RUN apt-get -y install curl clang llvm build-essential | ||
| RUN apk add curl build-base pkgconfig openssl-dev bash | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Hey @Niraj-Kamdar, apologies for not asking about this before, but why are we now installing Also I should have caught this before, but for rust builds we require
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. One answer I found is that |
||
|
|
||
| # Install wasm-opt | ||
| RUN curl -L https://github.com/WebAssembly/binaryen/releases/download/version_101/binaryen-version_101-x86_64-linux.tar.gz | tar -xz \ | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also what is the reasoning for moving to alpine?