Skip to content

Commit

Permalink
Remove tendermint_enclave from Dockerfile.2004
Browse files Browse the repository at this point in the history
  • Loading branch information
iKapitonau committed Mar 2, 2025
1 parent cd1a59f commit 8924f50
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions deployment/dockerfiles/Dockerfile.2004
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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


Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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"]

Expand Down

0 comments on commit 8924f50

Please sign in to comment.