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
a6469fb5
Unverified
Commit
a6469fb5
authored
Aug 05, 2022
by
kladkogex
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added firewall check
parent
de4f1c7d
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
1 deletion
+4
-1
Dockerfile
Dockerfile
+1
-0
DockerfileRelease
DockerfileRelease
+1
-0
DockerfileSimulation
DockerfileSimulation
+1
-0
start.sh
docker/start.sh
+1
-1
No files found.
Dockerfile
View file @
a6469fb5
...
@@ -10,6 +10,7 @@ RUN bash -c "make -j$(nproc)"
...
@@ -10,6 +10,7 @@ RUN bash -c "make -j$(nproc)"
RUN
ccache
-sz
RUN
ccache
-sz
RUN
mkdir
-p
/usr/src/sdk/sgx_data
RUN
mkdir
-p
/usr/src/sdk/sgx_data
COPY
docker/start.sh ./
COPY
docker/start.sh ./
COPY
docker/check_firewall.py ./
RUN
rm
-rf
/usr/src/sdk/sgx-sdk-build/
RUN
rm
-rf
/usr/src/sdk/sgx-sdk-build/
RUN
rm
/opt/intel/sgxsdk/lib64/
*
_sim.so
RUN
rm
/opt/intel/sgxsdk/lib64/
*
_sim.so
ENTRYPOINT
["/usr/src/sdk/start.sh"]
ENTRYPOINT
["/usr/src/sdk/start.sh"]
DockerfileRelease
View file @
a6469fb5
...
@@ -12,6 +12,7 @@ RUN ccache -sz
...
@@ -12,6 +12,7 @@ RUN ccache -sz
RUN cd scripts && ./sign_enclave.bash
RUN cd scripts && ./sign_enclave.bash
RUN mkdir -p /usr/src/sdk/sgx_data
RUN mkdir -p /usr/src/sdk/sgx_data
COPY docker/start.sh ./
COPY docker/start.sh ./
COPY docker/check_firewall.py ./
RUN rm -rf /usr/src/sdk/sgx-sdk-build/
RUN rm -rf /usr/src/sdk/sgx-sdk-build/
RUN rm /opt/intel/sgxsdk/lib64/*_sim.so
RUN rm /opt/intel/sgxsdk/lib64/*_sim.so
RUN rm /usr/src/sdk/secure_enclave/secure_enclave*.so
RUN rm /usr/src/sdk/secure_enclave/secure_enclave*.so
...
...
DockerfileSimulation
View file @
a6469fb5
...
@@ -15,6 +15,7 @@ RUN ./autoconf.bash && \
...
@@ -15,6 +15,7 @@ RUN ./autoconf.bash && \
mkdir -p /usr/src/sdk/sgx_data
mkdir -p /usr/src/sdk/sgx_data
COPY docker/start.sh ./
COPY docker/start.sh ./
COPY docker/check_firewall.py ./
RUN rm -rf /usr/src/sdk/sgx-sdk-build/
RUN rm -rf /usr/src/sdk/sgx-sdk-build/
ENTRYPOINT ["/usr/src/sdk/start.sh"]
ENTRYPOINT ["/usr/src/sdk/start.sh"]
docker/start.sh
View file @
a6469fb5
...
@@ -46,7 +46,7 @@ echo "Test run requested"
...
@@ -46,7 +46,7 @@ echo "Test run requested"
sleep
5
sleep
5
./testw.py
./testw.py
else
else
sleep
3
/usr/src/sdk/check_firewall.py
./sgxwallet
$1
$2
$3
$4
$5
$6
./sgxwallet
$1
$2
$3
$4
$5
$6
fi
fi
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