Skip to content

Commit

Permalink
add rpc-server and sui-faucet to sui-tools image (MystenLabs#2648)
Browse files Browse the repository at this point in the history
* add rpc-server and sui-faucet to sui-tools image
  • Loading branch information
tharbert authored Jul 8, 2022
1 parent 9b116ae commit b7d2aed
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docker/sui-tools/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,16 @@ COPY crates crates
RUN cargo build --release \
--bin sui-node \
--bin sui \
--bin rpc-server
--bin rpc-server \
--bin sui-faucet

# Production Image
FROM debian:bullseye-slim AS runtime
WORKDIR sui
COPY --from=builder /sui/target/release/sui-node /usr/local/bin
COPY --from=builder /sui/target/release/sui /usr/local/bin
COPY --from=builder /sui/target/release/rpc-server /usr/local/bin
COPY --from=builder /sui/target/release/sui-faucet /usr/local/bin

ARG BUILD_DATE
LABEL build-date=$BUILD_DATE
Expand Down
1 change: 1 addition & 0 deletions docker/sui-tools/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ BUILD_DATE="$(date -u +'%Y-%m-%d')"

echo
echo "Building sui-tool docker image"
echo "Building sui-tools docker image"
echo "Dockerfile: \t$DOCKERFILE"
echo "docker context: $REPO_ROOT"
echo "build date: \t$BUILD_DATE"
Expand Down

0 comments on commit b7d2aed

Please sign in to comment.