Fix docker image for SGX1 HW
This commit is contained in:
parent
3b52c90104
commit
27500f0461
@ -123,6 +123,8 @@ RUN echo "ca_directory=/etc/ssl/certs" >> /etc/wgetrc && \
|
|||||||
libsgx-uae-service*.rpm \
|
libsgx-uae-service*.rpm \
|
||||||
libsgx-epid*.rpm \
|
libsgx-epid*.rpm \
|
||||||
libsgx-launch*.rpm \
|
libsgx-launch*.rpm \
|
||||||
|
libsgx-ae-le-*.rpm \
|
||||||
|
libsgx-aesm-launch-plugin-*.rpm \
|
||||||
sgx-aesm-service*.rpm && \
|
sgx-aesm-service*.rpm && \
|
||||||
rm -rf /tmp/sgx_rpm_local_repo
|
rm -rf /tmp/sgx_rpm_local_repo
|
||||||
|
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# Start AESM service required by Intel SGX SDK if it is not running
|
# Start AESM service required by Intel SGX SDK if it is not running
|
||||||
if ! pgrep "aesm_service" > /dev/null ; then
|
if ! pgrep "aesm_service" > /dev/null ; then
|
||||||
LD_LIBRARY_PATH="/opt/intel/sgx-aesm-service/aesm:$LD_LIBRARY_PATH" /opt/intel/sgx-aesm-service/aesm/aesm_service --no-daemon
|
LD_LIBRARY_PATH="/opt/intel/sgx-aesm-service/aesm:$LD_LIBRARY_PATH" nohup /opt/intel/sgx-aesm-service/aesm/aesm_service --no-daemon >/dev/null 2>&1 &
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user