Skip to content

Commit

Permalink
test css at runtime
Browse files Browse the repository at this point in the history
  • Loading branch information
hummingalpaca committed Apr 10, 2023
1 parent 0f6c590 commit 2b457a0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,23 @@ ARG CONSENSUS_SIGSTRUCT_URI=$(curl -s https://enclave-distribution.${NETWORK}.mo

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


ARG \
RUST_BACKTRACE=1 \
SGX_MODE=HW \
IAS_MODE=DEV \
CONSENSUS_ENCLAVE_CSS=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

FROM mobilecoin/runtime-base:sha-09062b2
COPY --from=builder /build/target/release/mc-reserve-auditor /usr/local/bin/mc-reserve-auditor
COPY --from=builder /build/consensus-enclave.css /measurement/consensus-enclave.css
COPY --from=mobilecoind /usr/bin/mobilecoind /usr/bin/mobilecoind

CMD ["/usr/bin/supervisord", "-n"]

0 comments on commit 2b457a0

Please sign in to comment.