Skip to content

Commit

Permalink
Update css URI env variable
Browse files Browse the repository at this point in the history
  • Loading branch information
hummingalpaca committed Apr 10, 2023
1 parent e4cbeb4 commit 5e8f11d
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,15 @@ 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 curl -O https://enclave-distribution.${NETWORK}.mobilecoin.com/$CONSENSUS_SIGSTRUCT_URI


ARG \
RUST_BACKTRACE=1 \
SGX_MODE=HW \
IAS_MODE=DEV
IAS_MODE=DEV \
CONSENSUS_ENCLAVE_CSS=/build/consensus-enclave.css

RUN pwd
RUN echo "ias = $IAS_MODE"
RUN echo "consensus_enclave_css = $CONSENSUS_ENCLAVE_CSS"

COPY . .
RUN cargo build -p mc-reserve-auditor --release
Expand Down

0 comments on commit 5e8f11d

Please sign in to comment.