Unverified Commit 677772a9 authored by kladko's avatar kladko

SKALE-2454-add-logs-to-enclave

parent cc9d3c71
......@@ -4,8 +4,6 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- name: show ccache stats
run: ccache -sz
- name: Login to docker
env:
GITHUB_TOKEN: ${{ secrets.DOCKER_SECRET }}
......@@ -17,6 +15,5 @@ jobs:
run: python3 scripts/docker_build.py ${GITHUB_REF##*/} Dockerfile sgxwallet ${GITHUB_SHA}
- name: push
run: python3 scripts/docker_push.py ${GITHUB_REF##*/} Dockerfile sgxwallet ${GITHUB_SHA}
- name: show ccache stats
run: ccache -sz
......@@ -4,8 +4,6 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- name: show ccache stats
run: ccache -sz
- name: Check that /dev/urandom exists
run: ls /dev/urandom
- name: Login to docker
......@@ -21,8 +19,7 @@ jobs:
run: python3 scripts/docker_test.py ${GITHUB_REF##*/} DockerfileSimulation sgxwalletsim ${GITHUB_SHA}
- name: push
run: python3 scripts/docker_push.py ${GITHUB_REF##*/} DockerfileSimulation sgxwalletsim ${GITHUB_SHA}
- name: show ccache stats
run: ccache -sz
FROM skalenetwork/sgxwallet_base:latest
WORKDIR /usr/src/sdk
RUN ccache -sz
RUN touch /var/hwmode
COPY *.cpp ./
COPY *.h ./
......@@ -25,6 +27,7 @@ COPY SGXWALLET_VERSION ./
RUN ./autoconf.bash
RUN ./configure
RUN make
RUN ccache -sz
RUN mkdir /usr/src/sdk/sgx_data
COPY docker/start.sh ./
ENTRYPOINT ["/usr/src/sdk/start.sh"]
......@@ -2,6 +2,7 @@ FROM skalenetwork/sgxwallet_base:latest
WORKDIR /usr/src/sdk
RUN ccache -sz
COPY *.cpp ./
COPY *.h ./
......@@ -27,6 +28,8 @@ RUN ./autoconf.bash
RUN ./configure --enable-sgx-simulation
RUN make
RUN ccache -sz
RUN mkdir /usr/src/sdk/sgx_data
COPY docker/start.sh ./
......
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