-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9453b3f
commit e257d66
Showing
3 changed files
with
18 additions
and
12 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,21 @@ | ||
FROM rust:1-buster | ||
FROM ubuntu:22.04 | ||
|
||
RUN apt-get update && \ | ||
DEBIAN_FRONTEND=noninteractive apt-get install -y curl python3 python3-pip make gcc && \ | ||
curl -fsSL https://deb.nodesource.com/setup_21.x | bash - && \ | ||
apt-get install -y nodejs | ||
DEBIAN_FRONTEND=noninteractive apt-get install -y curl python3 python3-pip make gcc git pkg-config libssl-dev | ||
|
||
RUN rustup component add clippy | ||
RUN curl -fsSL https://deb.nodesource.com/setup_21.x | bash - && \ | ||
DEBIAN_FRONTEND=noninteractive apt-get install -y nodejs | ||
|
||
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y && \ | ||
echo "source $HOME/.cargo/env" >> $HOME/.bashrc | ||
|
||
RUN $HOME/.cargo/bin/rustup component add clippy | ||
|
||
RUN $HOME/.cargo/bin/rustup target add wasm32-unknown-unknown | ||
|
||
RUN . $HOME/.cargo/env && \ | ||
curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh | ||
|
||
COPY Makefile /tmp/Makefile | ||
RUN make -j -f /tmp/Makefile dependencies | ||
RUN . $HOME/.cargo/env && \ | ||
make -f /tmp/Makefile dependencies |
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