curl -fsSL https://download.01.org/intel-sgx/sgx_repo/ubuntu/intel-sgx-deb.key | apt-key add - && \ | |
add-apt-repository "deb https://download.01.org/intel-sgx/sgx_repo/ubuntu $CODENAME main" && \ | |
apt-get update && \ | |
apt-get install -y \ | |
libsgx-headers=$VERSION \ | |
libsgx-ae-epid=$VERSION \ | |
libsgx-ae-le=$VERSION \ | |
libsgx-ae-pce=$VERSION \ | |
libsgx-aesm-ecdsa-plugin=$VERSION \ | |
libsgx-aesm-epid-plugin=$VERSION \ | |
libsgx-aesm-launch-plugin=$VERSION \ | |
libsgx-aesm-pce-plugin=$VERSION \ | |
libsgx-aesm-quote-ex-plugin=$VERSION \ | |
libsgx-enclave-common=$VERSION \ | |
libsgx-enclave-common-dev=$VERSION \ | |
libsgx-epid=$VERSION \ | |
libsgx-epid-dev=$VERSION \ | |
libsgx-launch=$VERSION \ | |
libsgx-launch-dev=$VERSION \ | |
libsgx-quote-ex=$VERSION \ | |
libsgx-quote-ex-dev=$VERSION \ | |
libsgx-uae-service=$VERSION \ | |
libsgx-urts=$VERSION \ | |
sgx-aesm-service=$VERSION \ | |
libsgx-ae-qe3=$DCAP_VERSION \ | |
libsgx-pce-logic=$DCAP_VERSION \ | |
libsgx-qe3-logic=$DCAP_VERSION \ | |
libsgx-ra-network=$DCAP_VERSION \ | |
libsgx-ra-uefi=$DCAP_VERSION && \ | |
mkdir /var/run/aesmd && \ | |
rm -rf /var/lib/apt/lists/* && \ | |
rm -rf /var/cache/apt/archives/* |