Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
sgxwallet
Project
Project
Details
Activity
Releases
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
董子豪
sgxwallet
Commits
03acf9e8
Unverified
Commit
03acf9e8
authored
Dec 17, 2019
by
Sergiy Lavrynenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
SKALE-1850 build improvements
parent
40d9fe66
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
README.md
README.md
+1
-1
Dockerfile
docker/Dockerfile
+3
-4
build.sh
docker/build.sh
+1
-0
No files found.
README.md
View file @
03acf9e8
...
@@ -31,7 +31,7 @@ To build and run **sgxd**, you'll need **Intel SGX** capable hardware. Most Inte
...
@@ -31,7 +31,7 @@ To build and run **sgxd**, you'll need **Intel SGX** capable hardware. Most Inte
To enable SGX using a software utility:
To enable SGX using a software utility:
-
Build
`sgx-enable`
utility by typing
`cd sgx-software-enable; make`
-
Build
`sgx-enable`
utility by typing
`cd sgx-software-enable; make`
-
Run
`./sgx
-
enable`
. Verify that it says that
**SGX**
is successfully enabled
-
Run
`./sgx
_
enable`
. Verify that it says that
**SGX**
is successfully enabled
## Install SGX driver
## Install SGX driver
...
...
docker/Dockerfile
View file @
03acf9e8
...
@@ -23,11 +23,10 @@ RUN git clone -b sgx_2.5 --depth 1 https://github.com/intel/linux-sgx && \
...
@@ -23,11 +23,10 @@ RUN git clone -b sgx_2.5 --depth 1 https://github.com/intel/linux-sgx && \
# For debug purposes
# For debug purposes
# COPY jhi.conf /etc/jhi/jhi.conf
# COPY jhi.conf /etc/jhi/jhi.conf
RUN
git clone
--recurse-submodules
https://76b7983ebf14269178b99eff5b2be4b4b56fe7a5:@github.com/skalenetwork/sgxwallet.git
###
RUN git clone --recurse-submodules https://76b7983ebf14269178b99eff5b2be4b4b56fe7a5:@github.com/skalenetwork/sgxwallet.git
#RUN git clone --recurse-submodules https://
github.com/skalenetwork/sgxwallet.git
RUN
git clone
--recurse-submodules
--single-branch
--branch
feature/SKALE-1850-remove-extra-dependencies-from-SGX https://76b7983ebf14269178b99eff5b2be4b4b56fe7a5:@
github.com/skalenetwork/sgxwallet.git
WORKDIR
sgxwallet
WORKDIR
sgxwallet
#RUN git checkout feature/SKALE-1850-remove-extra-dependencies-from-SGX
RUN
cd
sgx-software-enable
&&
make
&&
./sgx_enable
#RUN git submodule update --init --recursive
RUN
cd
scripts
;
./build.py
RUN
cd
scripts
;
./build.py
### RUN autoreconf -vif
### RUN autoreconf -vif
### RUN automake
### RUN automake
...
...
docker/build.sh
View file @
03acf9e8
#!/bin/bash
#!/bin/bash
sudo
service docker start
sudo
service docker start
#sudo docker build --no-cache -t sgxcontainer .
sudo
docker build
-t
sgxcontainer
.
sudo
docker build
-t
sgxcontainer
.
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