Skip to content

Commit

Permalink
[DOCKER] Fix git clone failure. (apache#2816)
Browse files Browse the repository at this point in the history
git clone --branch=xxx won't take a hash, switch from the hash to the
tag that represents that hash.
  • Loading branch information
mshawcroft authored and wweic committed Mar 20, 2019
1 parent ded7159 commit 653d193
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions docker/install/ubuntu_install_sgx.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@ make -j4 sdk && make -j4 sdk_install_pkg
./linux/installer/bin/sgx_linux_x64_sdk*.bin --prefix /opt
cd -

tag=6098af # v1.0.5
git clone --branch=$tag --depth=1 https://github.com/baidu/rust-sgx-sdk.git /opt/rust-sgx-sdk
git clone --branch=v1.0.5 --depth=1 https://github.com/baidu/rust-sgx-sdk.git /opt/rust-sgx-sdk
cd /opt/rust-sgx-sdk
curl -s -S -L 'https://gist.githubusercontent.com/nhynes/37164039c5d3f33aa4f123e4ba720036/raw/b0de575fe937231799930764e76c664b92975163/rust-sgx-sdk.diff' | git apply
cd -

0 comments on commit 653d193

Please sign in to comment.