add utilities library to docker image
Some checks are pending
Code Coverage / Collect-code-coverage (push) Waiting to run
Demo Test / C_cpp_rust_golang_embedded_mode_support_test (push) Waiting to run
Demo Test / Java_support_test (push) Waiting to run
Demo Test / Fish_test (push) Waiting to run
Demo Test / Bazel_test (push) Waiting to run
Demo Test / Https_server_test (push) Waiting to run
Demo Test / Local_attestation_test (push) Waiting to run
Demo Test / Sqlite_test (push) Waiting to run
Demo Test / Xgboost_test (push) Waiting to run
Demo Test / Tensorflow_lite_test (push) Waiting to run
Demo Test / Pytorch_test (push) Waiting to run
Demo Test / Distributed_Pytorch_test (push) Waiting to run
Demo Test / Tensorflow_test (push) Waiting to run
Demo Test / Grpc_musl_test (push) Waiting to run
Demo Test / Grpc_glibc_test (push) Waiting to run
Demo Test / Grpc_tls_test (push) Waiting to run
Demo Test / Openvino_test (push) Waiting to run
Demo Test / Python_musl_support_test (push) Waiting to run
Demo Test / Python_glibc_support_test (push) Waiting to run
Demo Test / Redis_support_test (push) Waiting to run
Demo Test / Flink_test (push) Waiting to run
Demo Test / Cluster_serving_test (push) Waiting to run
Demo Test / Enclave_RA_TLS_test (push) Waiting to run
Demo Test / Vault_test (push) Waiting to run
Demo Test / Sofaboot_test (push) Waiting to run
Demo Test / Netty_UT_test (push) Waiting to run
Demo Test / Bash_test (push) Waiting to run
Demo Test / Sysbench_test (push) Waiting to run
Demo Test / Gvisor_syscalls_test (push) Waiting to run
Demo Test / Flask_tls_test (push) Waiting to run
Demo Test / Iperf2_test (push) Waiting to run
Demo Test / Linux_LTP_test (push) Waiting to run
Demo Test / FIO_test (push) Waiting to run
Demo Test / PaddlePaddle_test (push) Waiting to run
Demo Test / RuntimeBoot_test (push) Waiting to run
Demo Test / Swtpm_test (push) Waiting to run
SGX Hardware Mode Test / Make-test-on-ubuntu ([self-hosted SGX2-HW EDMM]) (push) Waiting to run
SGX Hardware Mode Test / Make-test-on-ubuntu ([self-hosted SGX2-HW]) (push) Waiting to run
SGX Hardware Mode Test / C_cpp_rust_golang_embedded_mode_support_test ([self-hosted SGX2-HW EDMM]) (push) Waiting to run
SGX Hardware Mode Test / C_cpp_rust_golang_embedded_mode_support_test ([self-hosted SGX2-HW]) (push) Waiting to run
SGX Hardware Mode Test / Java_support_test ([self-hosted SGX2-HW EDMM PKU]) (push) Waiting to run
SGX Hardware Mode Test / Java_support_test ([self-hosted SGX2-HW]) (push) Waiting to run
SGX Hardware Mode Test / Bazel_test ([self-hosted SGX2-HW EDMM]) (push) Waiting to run
SGX Hardware Mode Test / Bazel_test ([self-hosted SGX2-HW]) (push) Waiting to run
SGX Hardware Mode Test / Fish_test ([self-hosted SGX2-HW EDMM]) (push) Waiting to run
SGX Hardware Mode Test / Fish_test ([self-hosted SGX2-HW]) (push) Waiting to run
SGX Hardware Mode Test / Xgboost_test ([self-hosted SGX2-HW EDMM]) (push) Waiting to run
SGX Hardware Mode Test / Xgboost_test ([self-hosted SGX2-HW]) (push) Waiting to run
SGX Hardware Mode Test / Sqlite_test ([self-hosted SGX2-HW EDMM]) (push) Waiting to run
SGX Hardware Mode Test / Sqlite_test ([self-hosted SGX2-HW]) (push) Waiting to run
SGX Hardware Mode Test / Python_musl_support_test ([self-hosted SGX2-HW EDMM]) (push) Waiting to run
SGX Hardware Mode Test / Python_musl_support_test ([self-hosted SGX2-HW]) (push) Waiting to run
SGX Hardware Mode Test / Openvino_test ([self-hosted SGX2-HW EDMM]) (push) Waiting to run
SGX Hardware Mode Test / Openvino_test ([self-hosted SGX2-HW]) (push) Waiting to run
SGX Hardware Mode Test / Grpc_test ([self-hosted SGX2-HW EDMM]) (push) Waiting to run
SGX Hardware Mode Test / Grpc_test ([self-hosted SGX2-HW]) (push) Waiting to run
SGX Hardware Mode Test / Gvisor_test ([self-hosted SGX2-HW EDMM]) (push) Waiting to run
SGX Hardware Mode Test / Gvisor_test ([self-hosted SGX2-HW]) (push) Waiting to run
SGX Hardware Mode Test / Test_deb_deploy ([self-hosted SGX2-HW]) (push) Waiting to run
SGX Hardware Mode Test / Tensorflow_serving_test ([self-hosted SGX2-HW EDMM]) (push) Waiting to run
SGX Hardware Mode Test / Tensorflow_serving_test ([self-hosted SGX2-HW]) (push) Waiting to run
SGX Hardware Mode Test / Remote_attestation_test ([self-hosted SGX2-HW EDMM]) (push) Waiting to run
SGX Hardware Mode Test / Remote_attestation_test ([self-hosted SGX2-HW]) (push) Waiting to run
SGX Hardware Mode Test / Init_RA_grpc ([self-hosted SGX2-HW EDMM]) (push) Waiting to run
SGX Hardware Mode Test / Init_RA_grpc ([self-hosted SGX2-HW]) (push) Waiting to run
SGX Hardware Mode Test / Init_RA_AECS ([self-hosted SGX2-HW EDMM]) (push) Waiting to run
SGX Hardware Mode Test / Init_RA_AECS ([self-hosted SGX2-HW]) (push) Waiting to run
SGX Hardware Mode Test / MySQL_test ([self-hosted SGX2-HW EDMM]) (push) Waiting to run
SGX Hardware Mode Test / MySQL_test ([self-hosted SGX2-HW]) (push) Waiting to run
SGX Hardware Mode Test / Netty_UT_test ([self-hosted SGX2-HW EDMM]) (push) Waiting to run
SGX Hardware Mode Test / Netty_UT_test ([self-hosted SGX2-HW]) (push) Waiting to run
SGX Hardware Mode Test / Stress_test_with_musl ([self-hosted SGX2-HW EDMM]) (push) Waiting to run
SGX Hardware Mode Test / Stress_test_with_musl ([self-hosted SGX2-HW]) (push) Waiting to run
SGX Hardware Mode Test / Stress_test_with_glibc ([self-hosted SGX2-HW EDMM]) (push) Waiting to run
SGX Hardware Mode Test / Stress_test_with_glibc ([self-hosted SGX2-HW]) (push) Waiting to run
Essential Test / Make_test_on_ubuntu (push) Waiting to run
Rune Test / Rune_test (centos8.2) (push) Waiting to run
Rune Test / Rune_test (ubuntu18.04) (push) Waiting to run

Signed-off-by: Valentyn Faychuk <valy@detee.ltd>
This commit is contained in:
Valentyn Faychuk 2025-01-22 03:48:37 +02:00
parent cfed7004a5
commit 6311cea39c
Signed by: valy
GPG Key ID: F1AB995E20FEADC5
3 changed files with 9 additions and 5 deletions

@ -125,7 +125,7 @@ RUN wget http://www.etallen.com/cpuid/cpuid-20200211.x86_64.tar.gz && \
# Download the Occlum source # Download the Occlum source
ARG OCCLUM_BRANCH ARG OCCLUM_BRANCH
WORKDIR /root 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 -r /root/occlum/tools/toolchains/* /tmp/ && mkdir -p /opt/occlum/ && \
cp /root/occlum/tools/docker/start_aesm.sh /opt/occlum/ cp /root/occlum/tools/docker/start_aesm.sh /opt/occlum/

@ -129,7 +129,7 @@ RUN wget http://www.etallen.com/cpuid/cpuid-20200211.x86_64.tar.gz && \
# Download the Occlum source # Download the Occlum source
ARG OCCLUM_BRANCH ARG OCCLUM_BRANCH
WORKDIR /root 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 && \ cd /root/occlum && git submodule update --init && \
mkdir -p /opt/occlum/ && \ mkdir -p /opt/occlum/ && \
cp /root/occlum/tools/docker/start_aesm.sh /opt/occlum/ cp /root/occlum/tools/docker/start_aesm.sh /opt/occlum/

@ -136,7 +136,7 @@ RUN git clone -b sgx_2.20_for_occlum https://github.com/occlum/linux-sgx && \
# Download the Occlum source # Download the Occlum source
ARG OCCLUM_BRANCH ARG OCCLUM_BRANCH
WORKDIR /root 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 && \ cd /root/occlum && git submodule update --init && \
mkdir -p /opt/occlum/ && \ mkdir -p /opt/occlum/ && \
cp /root/occlum/tools/docker/start_aesm.sh /opt/occlum/ cp /root/occlum/tools/docker/start_aesm.sh /opt/occlum/
@ -203,8 +203,12 @@ RUN cd occlum && \
make submodule && \ make submodule && \
OCCLUM_RELEASE_BUILD=1 make && \ OCCLUM_RELEASE_BUILD=1 make && \
make install && \ make install && \
cp -r demos /root/demos && \ cp -r demos /root/demos
rm -rf /root/occlum
# Install utilities library
WORKDIR /root/occlum/tools/toolchains
RUN cd utils_lib && ./build.sh && cd .. && rm -rf utils_lib
RUN rm -rf /root/occlum
# Start AESM service automatically # Start AESM service automatically
# #