-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Disable default toolchain and update dockerfiles
- Loading branch information
1 parent
be37174
commit ce9a586
Showing
4 changed files
with
6 additions
and
17 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
This file was deleted.
Oops, something went wrong.
14 changes: 4 additions & 10 deletions
14
.maintain/docker/build.Dockerfile → .maintain/docker/ubuntu:20.04.Dockerfile
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,20 +1,14 @@ | ||
FROM ubuntu:20.04 | ||
|
||
ARG RUST_TOOLCHAIN=nightly | ||
|
||
|
||
RUN apt-get update \ | ||
&& apt install --no-install-recommends -y \ | ||
ca-certificates curl git python3-pip \ | ||
clang make gcc g++ libssl-dev pkg-config protobuf-compiler \ | ||
ca-certificates curl git python3-pip \ | ||
clang make gcc g++ libssl-dev pkg-config protobuf-compiler \ | ||
&& pip3 install --upgrade pip \ | ||
&& pip3 install cmake --upgrade \ | ||
&& curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y \ | ||
&& . "/root/.cargo/env" \ | ||
&& rustup default $RUST_TOOLCHAIN | ||
&& curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain none \ | ||
&& . "/root/.cargo/env" | ||
|
||
ENV PATH="$PATH:/root/.cargo/bin" | ||
|
||
WORKDIR /build | ||
|
||
|