Unverified Commit 4b103b78 authored by Sergiy Lavrynenko's avatar Sergiy Lavrynenko

Merge remote-tracking branch 'origin/develop' into...

Merge remote-tracking branch 'origin/develop' into feature/SKALE-1850-remove-extra-dependencies-from-SGX
parents d8ac2aa9 c8955856
name: Docker Image CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Build the Docker image
run: cd docker; docker build . --file Dockerfile --tag sgxcontainer:$(date +%s)
sudo: required
services:
- docker
branches:
only:
- develop
install:
- docker build -t sgxwallet docker
script:
...@@ -39,4 +39,10 @@ RUN autoconf ...@@ -39,4 +39,10 @@ RUN autoconf
RUN ./configure RUN ./configure
### RUN cd libBLS; cmake -H. -Bbuild; cmake --build build -- -j$(nproc); ### RUN cd libBLS; cmake -H. -Bbuild; cmake --build build -- -j$(nproc);
RUN make RUN make
RUN wget --progress=dot:mega -O - https://github.com/intel/dynamic-application-loader-host-interface/archive/072d233296c15d0dcd1fb4570694d0244729f87b.tar.gz | tar -xz && \
cd dynamic-application-loader-host-interface-072d233296c15d0dcd1fb4570694d0244729f87b && \
cmake . -DCMAKE_BUILD_TYPE=Release -DINIT_SYSTEM=SysVinit && \
make install && \
cd .. && rm -rf dynamic-application-loader-host-interface-072d233296c15d0dcd1fb4570694d0244729f87b
COPY start.sh ./ COPY start.sh ./
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
source /opt/intel/sgxsdk/environment source /opt/intel/sgxsdk/environment
export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/opt/intel/sgxpsw/aesm/ export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/opt/intel/sgxpsw/aesm/
jhid -d
/opt/intel/sgxpsw/aesm/aesm_service & /opt/intel/sgxpsw/aesm/aesm_service &
pid=$! pid=$!
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment