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
5d3637f5
Unverified
Commit
5d3637f5
authored
Oct 04, 2018
by
Tianqi Chen
Committed by
GitHub
Oct 04, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[DOCKER] Fix CI script (#1826)
parent
ff76b462
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
20 additions
and
13 deletions
+20
-13
docker/Dockerfile.ci_cpu
+7
-0
docker/Dockerfile.demo_opencl
+1
-1
docker/install/ubuntu_install_rust.sh
+9
-0
docker/install/ubuntu_install_sgx.sh
+3
-12
No files found.
docker/Dockerfile.ci_cpu
View file @
5d3637f5
...
@@ -23,6 +23,13 @@ RUN bash /install/ubuntu_install_redis.sh
...
@@ -23,6 +23,13 @@ RUN bash /install/ubuntu_install_redis.sh
COPY install/ubuntu_install_golang.sh /install/ubuntu_install_golang.sh
COPY install/ubuntu_install_golang.sh /install/ubuntu_install_golang.sh
RUN bash /install/ubuntu_install_golang.sh
RUN bash /install/ubuntu_install_golang.sh
# Rust env
COPY install/ubuntu_install_rust.sh /install/ubuntu_install_rust.sh
RUN bash /install/ubuntu_install_rust.sh
# SGX deps
# SGX deps
COPY install/ubuntu_install_sgx.sh /install/ubuntu_install_sgx.sh
COPY install/ubuntu_install_sgx.sh /install/ubuntu_install_sgx.sh
RUN bash /install/ubuntu_install_sgx.sh
RUN bash /install/ubuntu_install_sgx.sh
ENV PATH $PATH:/root/.cargo/bin
docker/Dockerfile.demo_opencl
View file @
5d3637f5
...
@@ -13,7 +13,7 @@ RUN apt-get update
...
@@ -13,7 +13,7 @@ RUN apt-get update
RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections
RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections
RUN echo "Installing utility libraries"
RUN echo "Installing utility libraries"
RUN apt-get install -y apt-utils
RUN apt-get install -y apt-utils
sudo
RUN apt-get install -y cmake g++ llvm
RUN apt-get install -y cmake g++ llvm
RUN apt-get install -y git
RUN apt-get install -y git
# make wget unzip libtinfo-dev libz-dev libcurl4-openssl-dev
# make wget unzip libtinfo-dev libz-dev libcurl4-openssl-dev
...
...
docker/install/ubuntu_install_rust.sh
0 → 100644
View file @
5d3637f5
apt-get update
&&
apt-get install
-y
--no-install-recommends
--force-yes
curl
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 component add rust-src
cargo install rustfmt-nightly
--force
cargo install xargo
docker/install/ubuntu_install_sgx.sh
View file @
5d3637f5
apt-get update
-qq
&&
apt-get install
-qq
\
apt-get update
&&
apt-get install
-y
--no-install-recommends
--force-yes
\
# for SGX SDK
build-essential git cmake
\
build-essential git cmake
\
wget python pkg-config software-properties-common
\
wget python pkg-config software-properties-common
\
autoconf automake libtool ocaml ocamlbuild
\
autoconf automake libtool ocaml
\
# for SGX PSW
libssl-dev libcurl4-openssl-dev curl
libssl-dev libcurl4-openssl-dev
git clone https://github.com/intel/linux-sgx.git
git clone https://github.com/intel/linux-sgx.git
cd
linux-sgx
cd
linux-sgx
...
@@ -19,10 +17,3 @@ git clone https://github.com/baidu/rust-sgx-sdk.git /opt/rust-sgx-sdk
...
@@ -19,10 +17,3 @@ git clone https://github.com/baidu/rust-sgx-sdk.git /opt/rust-sgx-sdk
cd
/opt/rust-sgx-sdk
cd
/opt/rust-sgx-sdk
git checkout bdd75ca05f66d1f5df637182ec335970f769b03a
git checkout bdd75ca05f66d1f5df637182ec335970f769b03a
cd
-
cd
-
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
rustup component add rust-src
cargo install rustfmt-nightly
--force
cargo 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