demo: update sgx-sdk-demo image

Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
This commit is contained in:
Mikko Ylinen 2021-10-08 16:17:14 +03:00
parent 65411c3c49
commit 55550261f5

View File

@ -23,8 +23,8 @@ RUN apt-get update && \
# SGX SDK is installed in /opt/intel directory.
WORKDIR /opt/intel
ARG SGX_SDK_INSTALLER=sgx_linux_x64_sdk_2.13.100.4.bin
ARG DCAP_VERSION=DCAP_1.10
ARG SGX_SDK_INSTALLER=sgx_linux_x64_sdk_2.15.100.3.bin
ARG DCAP_VERSION=DCAP_1.12
RUN echo "deb [arch=amd64] https://download.01.org/intel-sgx/sgx_repo/ubuntu bionic main" >> /etc/apt/sources.list.d/intel-sgx.list \
&& wget -qO - https://download.01.org/intel-sgx/sgx_repo/ubuntu/intel-sgx-deb.key | apt-key add - \
@ -35,7 +35,7 @@ RUN echo "deb [arch=amd64] https://download.01.org/intel-sgx/sgx_repo/ubuntu bio
libsgx-quote-ex-dev
# Install SGX SDK
RUN wget https://download.01.org/intel-sgx/sgx-linux/2.13/distro/ubuntu18.04-server/$SGX_SDK_INSTALLER \
RUN wget https://download.01.org/intel-sgx/sgx-linux/2.15/distro/ubuntu18.04-server/$SGX_SDK_INSTALLER \
&& chmod +x $SGX_SDK_INSTALLER \
&& echo "yes" | ./$SGX_SDK_INSTALLER \
&& rm $SGX_SDK_INSTALLER