Skip to content

Commit

Permalink
Fixing dockerfile for testing
Browse files Browse the repository at this point in the history
Signed-off-by: Carlos Baez <cb@mamoru.ai>
  • Loading branch information
carlosbmamoru committed Aug 30, 2024
1 parent 11e4454 commit 0f7736b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion docker/sui-node/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,19 @@ ENV GIT_REVISION=$GIT_REVISION
WORKDIR "$WORKDIR/sui"
RUN apt-get update && apt-get install -y cmake clang

COPY root-config /root/
RUN sed 's|/home/runner|/root|g' -i.bak /root/.ssh/config
ENV CARGO_NET_GIT_FETCH_WITH_CLI=true


COPY Cargo.toml Cargo.lock ./
COPY consensus consensus
COPY crates crates
COPY sui-execution sui-execution
COPY narwhal narwhal
COPY external-crates external-crates

RUN cargo build --profile ${PROFILE} --bin sui-node
RUN --mount=type=ssh cargo build --profile ${PROFILE} --bin sui-node

# Production Image
FROM debian:bullseye-slim AS runtime
Expand Down

0 comments on commit 0f7736b

Please sign in to comment.