From 8924f501ed22a04721e713a619002fae5d63b7c6 Mon Sep 17 00:00:00 2001 From: Ilya Raykker Date: Sun, 2 Mar 2025 14:18:45 +0400 Subject: [PATCH] Remove tendermint_enclave from Dockerfile.2004 --- deployment/dockerfiles/Dockerfile.2004 | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/deployment/dockerfiles/Dockerfile.2004 b/deployment/dockerfiles/Dockerfile.2004 index 186538d0b..8c0a6402d 100644 --- a/deployment/dockerfiles/Dockerfile.2004 +++ b/deployment/dockerfiles/Dockerfile.2004 @@ -70,7 +70,7 @@ ENV FEATURES=${FEATURES} ENV FEATURES_U=${FEATURES_U} ENV MITIGATION_CVE_2020_0551=${MITIGATION_CVE_2020_0551} -RUN git clone --branch main --depth 1 https://github.com/scrtlabs/tm-secret-enclave.git +RUN git clone --branch mrenclave1 --depth 1 https://github.com/scrtlabs/tm-secret-enclave.git WORKDIR tm-secret-enclave @@ -190,7 +190,6 @@ WORKDIR /root COPY --from=compile-secretd /go/src/github.com/scrtlabs/SecretNetwork/go-cosmwasm/target/release/libgo_cosmwasm.so /usr/lib/ COPY --from=compile-secretd /go/src/github.com/scrtlabs/SecretNetwork/go-cosmwasm/librust_cosmwasm_enclave.signed.so /usr/lib/ COPY --from=compile-secretd /go/src/github.com/scrtlabs/SecretNetwork/secretd /usr/bin/secretd -COPY --from=compile-tendermint-enclave /go/src/github.com/scrtlabs/SecretNetwork/tm-secret-enclave/tendermint_enclave.signed.so /usr/lib/tendermint_enclave.signed.so COPY --from=compile-tendermint-enclave /go/src/github.com/scrtlabs/SecretNetwork/tm-secret-enclave/api/librandom_api.so /usr/lib/librandom_api.so @@ -246,8 +245,6 @@ RUN STORAGE_PATH=$(echo ${VERSION} | awk -F'[.]' '{print $1 $2}') \ && wget -O /usr/lib/libgo_cosmwasm.so https://engfilestorage.blob.core.windows.net/v$STORAGE_PATH/libgo_cosmwasm.so RUN STORAGE_PATH=$(echo ${VERSION} | awk -F'[.]' '{print $1 $2}') \ && wget -O /usr/lib/librandom_api.so https://engfilestorage.blob.core.windows.net/v$STORAGE_PATH/librandom_api.so -RUN STORAGE_PATH=$(echo ${VERSION} | awk -F'[.]' '{print $1 $2}') \ - && wget -O /usr/lib/tendermint_enclave.signed.so https://engfilestorage.blob.core.windows.net/v$STORAGE_PATH/tendermint_enclave.signed.so COPY deployment/docker/mainnet/mainnet_node.sh . RUN chmod +x mainnet_node.sh @@ -275,7 +272,6 @@ COPY Makefile . # Copy over binaries from the build-env RUN cp /go/src/github.com/scrtlabs/SecretNetwork/go-cosmwasm/target/release/libgo_cosmwasm.so ./go-cosmwasm/api/ RUN cp /go/src/github.com/scrtlabs/SecretNetwork/go-cosmwasm/librust_cosmwasm_enclave.signed.so ./go-cosmwasm/ -COPY --from=compile-tendermint-enclave /go/src/github.com/scrtlabs/SecretNetwork/tm-secret-enclave/tendermint_enclave.signed.so ./go-cosmwasm/tendermint_enclave.signed.so COPY --from=compile-tendermint-enclave /go/src/github.com/scrtlabs/SecretNetwork/tm-secret-enclave/api/librandom_api.so ./go-cosmwasm/librandom_api.so RUN cp /go/src/github.com/scrtlabs/SecretNetwork/secretd secretd RUN cp /go/src/github.com/scrtlabs/SecretNetwork/secretcli secretcli @@ -293,7 +289,6 @@ CMD ["/bin/bash", "build_deb.sh"] FROM build-deb as build-deb-mainnet COPY --from=mainnet-release /usr/lib/librust_cosmwasm_enclave.signed.so ./go-cosmwasm/ -COPY --from=mainnet-release /usr/lib/tendermint_enclave.signed.so ./go-cosmwasm/ CMD ["/bin/bash", "build_deb.sh"]