diff --git a/tools/docker/Dockerfile.centos8.1 b/tools/docker/Dockerfile.centos8.1 index 75e1e382..999386f9 100644 --- a/tools/docker/Dockerfile.centos8.1 +++ b/tools/docker/Dockerfile.centos8.1 @@ -53,7 +53,7 @@ RUN wget http://www.etallen.com/cpuid/cpuid-20200211.x86_64.tar.gz && \ WORKDIR /tmp RUN git clone -b sgx_2.11_for_occlum https://github.com/occlum/linux-sgx && \ cd linux-sgx && make preparation && \ - ./compile_and_install.sh no_mitigation && \ + ./compile_and_install.sh no_mitigation USE_OPT_LIBS=2 && \ echo 'source /opt/intel/sgxsdk/environment' >> /root/.bashrc && \ rm -rf /tmp/linux-sgx diff --git a/tools/docker/Dockerfile.ubuntu18.04 b/tools/docker/Dockerfile.ubuntu18.04 index 291b4662..d5020ffb 100644 --- a/tools/docker/Dockerfile.ubuntu18.04 +++ b/tools/docker/Dockerfile.ubuntu18.04 @@ -65,7 +65,7 @@ WORKDIR /tmp RUN git clone -b sgx_2.11_for_occlum https://github.com/occlum/linux-sgx && \ mkdir /etc/init && \ cd linux-sgx && make preparation && \ - ./compile_and_install.sh no_mitigation && \ + ./compile_and_install.sh no_mitigation USE_OPT_LIBS=2 && \ echo 'source /opt/intel/sgxsdk/environment' >> /root/.bashrc && \ rm -rf /tmp/linux-sgx