Skip to content

Commit

Permalink
#438 fix release builds
Browse files Browse the repository at this point in the history
  • Loading branch information
olehnikolaiev committed Nov 26, 2024
1 parent 7b23e69 commit 663a199
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ RUN pip3 install requests torpy

RUN touch /var/hwmode
RUN ./autoconf.bash
RUN ./configure --enable-sgx
RUN ./configure
RUN bash -c "make -j$(nproc)"
RUN ccache -sz
RUN mkdir -p /usr/src/sdk/sgx_data
Expand Down
4 changes: 2 additions & 2 deletions DockerfileIntelSubmission
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ RUN pip3 install requests torpy
RUN cd scripts && ./generate_signing_key.bash
RUN touch /var/hwmode
RUN ./autoconf.bash
RUN ./configure --with-sgx-build=release
RUN ./configure --with-sgx-build=prerelease
RUN bash -c "make -j$(nproc)"
RUN ccache -sz
RUN mkdir -p /usr/src/sdk/sgx_data
COPY docker/start.sh ./
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"]
1 change: 1 addition & 0 deletions DockerfileRelease
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ RUN pip3 install requests torpy
RUN touch /var/hwmode
RUN ./autoconf.bash
RUN ./configure --with-sgx-build=release
RUN cd secure_enclave && bash -c "make secure_enclave.so -j$(nproc)" && cd ..
RUN bash -c "make -j$(nproc)"
RUN ccache -sz
RUN cd scripts && ./sign_enclave.bash
Expand Down

0 comments on commit 663a199

Please sign in to comment.