diff --git a/deployment/dockerfiles/tests/system-tests.Dockerfile b/deployment/dockerfiles/tests/system-tests.Dockerfile index 5280b1f04..4f2858a62 100644 --- a/deployment/dockerfiles/tests/system-tests.Dockerfile +++ b/deployment/dockerfiles/tests/system-tests.Dockerfile @@ -47,9 +47,10 @@ RUN chmod +x go-tests-bench.sh COPY --from=azcr.io/enigmampc/ci-base-image-local /go/src/github.com/scrtlabs/SecretNetwork/go-cosmwasm/target/release/libgo_cosmwasm.so ./go-cosmwasm/api/libgo_cosmwasm.so COPY --from=azcr.io/enigmampc/ci-base-image-local /go/src/github.com/scrtlabs/SecretNetwork/go-cosmwasm/librust_cosmwasm_enclave.signed.so x/compute/internal/keeper/librust_cosmwasm_enclave.signed.so -RUN apt list --installed -RUN dpkg -L libsgx-dcap-ql -RUN dpkg -L libsgx-dcap-quote-verify -RUN dpkg -L libsgx-epid +RUN find /usr/lib /usr/lib64 /usr/local/lib /usr/local/lib64 -name "libsgx_dcap_ql.so" -o -name "libsgx_dcap_quoteverify.so" -o -name "libsgx_epid.so" + +RUN ln -s /usr/lib/x86_64-linux-gnu/libsgx_dcap_quoteverify.so.1 /usr/lib/x86_64-linux-gnu/libsgx_dcap_quoteverify.so +RUN ln -s /usr/lib/x86_64-linux-gnu/libsgx_epid.so.1 /usr/lib/x86_64-linux-gnu/libsgx_epid.so +RUN ln -s /usr/lib/x86_64-linux-gnu/libsgx_dcap_ql.so.1 /usr/lib/x86_64-linux-gnu/libsgx_dcap_ql.so ENTRYPOINT ["/bin/bash", "go-tests.sh"]