Skip to content

Commit

Permalink
test single line curl consensus sigstruct
Browse files Browse the repository at this point in the history
  • Loading branch information
hummingalpaca committed Apr 10, 2023
1 parent b2dd8c7 commit a4f902f
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,9 @@ FROM mobilecoin/mobilecoind:${MOBILECOIND_BASE_TAG} AS mobilecoind
FROM mobilecoin/builder-install:v0.0.17 AS builder

WORKDIR /build

ARG NETWORK=test
ARG CONSENSUS_SIGSTRUCT_URI=$(curl -s https://enclave-distribution.${NETWORK}.mobilecoin.com/production-v4.0.0.json | jq .consensus.sigstruct | tr -d \" )

RUN curl -O "https://enclave-distribution.${NETWORK}.mobilecoin.com/${CONSENSUS_SIGSTRUCT_URI}"

RUN CONSENSUS_SIGSTRUCT_URI=$(curl -s https://enclave-distribution.${NETWORK}.mobilecoin.com/production-v4.0.0.json | jq .consensus.sigstruct | tr -d \") && curl -O "https://enclave-distribution.${NETWORK}.mobilecoin.com/${CONSENSUS_SIGSTRUCT_URI}"

ARG \
RUST_BACKTRACE=1 \
Expand Down

0 comments on commit a4f902f

Please sign in to comment.