Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tic
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wenyuanbo
tic
Commits
b313c021
Commit
b313c021
authored
Oct 06, 2018
by
nhynes
Committed by
Tianqi Chen
Oct 06, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Rust] Update rust install in dockerfile (#1855)
* Update rust docker * minor edit for consistency
parent
a12b2b1b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
docker/Dockerfile.ci_cpu
+1
-0
docker/install/ubuntu_install_rust.sh
+3
-2
No files found.
docker/Dockerfile.ci_cpu
View file @
b313c021
...
...
@@ -30,6 +30,7 @@ RUN bash /install/ubuntu_install_rust.sh
# SGX deps
COPY install/ubuntu_install_sgx.sh /install/ubuntu_install_sgx.sh
RUN bash /install/ubuntu_install_sgx.sh
ENV LD_LIBRARY_PATH /opt/sgxsdk/lib64:${LD_LIBRARY_PATH}
ENV PATH $PATH:/root/.cargo/bin:/usr/lib/go-1.10/bin
docker/install/ubuntu_install_rust.sh
View file @
b313c021
...
...
@@ -4,6 +4,7 @@ curl -sSo rustup.sh 'https://sh.rustup.rs'
# rustc nightly-2018-08-25 is the version supported by the above version of rust-sgx-sdk
bash rustup.sh
-y
--no-modify-path
--default-toolchain
nightly-2018-08-25
.
$HOME
/.cargo/env
rustup toolchain add nightly
rustup component add rust-src
cargo
install rustfmt-nightly
--force
cargo install xargo
cargo
+nightly install rustfmt-nightly
--version
0.99.5
--force
cargo
+nightly
install xargo
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment