diff --git a/tools/docker/Dockerfile.aliyunlinux3 b/tools/docker/Dockerfile.aliyunlinux3 index 62147c23..8f306e17 100644 --- a/tools/docker/Dockerfile.aliyunlinux3 +++ b/tools/docker/Dockerfile.aliyunlinux3 @@ -125,7 +125,7 @@ RUN wget http://www.etallen.com/cpuid/cpuid-20200211.x86_64.tar.gz && \ # Download the Occlum source ARG OCCLUM_BRANCH WORKDIR /root -RUN git clone -b $OCCLUM_BRANCH https://github.com/occlum/occlum && \ +RUN git clone -b $OCCLUM_BRANCH https://gitea.detee.cloud/general/occlum && \ cp -r /root/occlum/tools/toolchains/* /tmp/ && mkdir -p /opt/occlum/ && \ cp /root/occlum/tools/docker/start_aesm.sh /opt/occlum/ diff --git a/tools/docker/Dockerfile.anolis8.8 b/tools/docker/Dockerfile.anolis8.8 index b290d400..0f34cc18 100644 --- a/tools/docker/Dockerfile.anolis8.8 +++ b/tools/docker/Dockerfile.anolis8.8 @@ -129,7 +129,7 @@ RUN wget http://www.etallen.com/cpuid/cpuid-20200211.x86_64.tar.gz && \ # Download the Occlum source ARG OCCLUM_BRANCH WORKDIR /root -RUN git clone -b $OCCLUM_BRANCH https://github.com/occlum/occlum && \ +RUN git clone -b $OCCLUM_BRANCH https://gitea.detee.cloud/general/occlum && \ cd /root/occlum && git submodule update --init && \ mkdir -p /opt/occlum/ && \ cp /root/occlum/tools/docker/start_aesm.sh /opt/occlum/ diff --git a/tools/docker/Dockerfile.ubuntu20.04 b/tools/docker/Dockerfile.ubuntu20.04 index 6b97a097..d5244b50 100644 --- a/tools/docker/Dockerfile.ubuntu20.04 +++ b/tools/docker/Dockerfile.ubuntu20.04 @@ -136,7 +136,7 @@ RUN git clone -b sgx_2.20_for_occlum https://github.com/occlum/linux-sgx && \ # Download the Occlum source ARG OCCLUM_BRANCH WORKDIR /root -RUN git clone -b $OCCLUM_BRANCH https://github.com/occlum/occlum && \ +RUN git clone -b $OCCLUM_BRANCH https://gitea.detee.cloud/general/occlum && \ cd /root/occlum && git submodule update --init && \ mkdir -p /opt/occlum/ && \ cp /root/occlum/tools/docker/start_aesm.sh /opt/occlum/ @@ -184,9 +184,9 @@ COPY --from=alpine /usr/lib/jvm/java-1.8-openjdk $JDK8_PATH RUN rm $JDK8_PATH/jre/lib/security/cacerts COPY --from=alpine /etc/ssl/certs/java/cacerts $JDK8_PATH/jre/lib/security/cacerts -# Install DCAP library +# Install DCAP and Utilities libraries WORKDIR /root/occlum/tools/toolchains -RUN cd dcap_lib && ./build.sh && cd .. && rm -rf dcap_lib +RUN cd dcap_lib && ./build.sh && cd ../utils_lib && ./build.sh && cd .. && rm -rf utils_lib dcap_lib # Install AECS Client library WORKDIR /root/occlum/tools/toolchains