Skip to content
This repository was archived by the owner on May 22, 2019. It is now read-only.

Commit 3d84db5

Browse files
committed
BUG: surface proper simulation mode
1 parent 4da7387 commit 3d84db5

File tree

3 files changed

+2
-6
lines changed

3 files changed

+2
-6
lines changed

core/compile_launch.bash

-4
This file was deleted.

docker-compose.yml

-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ services:
3030
tty: true
3131
volumes:
3232
- built_contracts:/var/lib/built_contracts
33-
- ./surface/wait_launch.bash:/root/wait_launch.bash:ro
3433
- ./surface/docker_config.bash:/root/docker_config.bash:ro
3534
hostname: enigma_surface_${WORKER_INDEX}
3635
networks:

surface/Dockerfile

+2-1
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,9 @@ RUN cd surface && \
1414

1515
RUN echo './docker_config.bash' >> ~/.bashrc
1616

17+
COPY wait_launch.bash .
1718
ARG SGX_MODE
18-
RUN echo "export SGX_MODE=$SGX_MODE" >> ~/.bashrc
19+
RUN sed -i'' "2 aSGX_MODE=$SGX_MODE" ~/wait_launch.bash
1920

2021
ENTRYPOINT ["/usr/bin/env"]
2122
CMD /bin/bash

0 commit comments

Comments
 (0)