From 91282928c40b50b006eb56b9f67f31502d5e1fc2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nurzhan=20Sak=C3=A9n?= Date: Tue, 4 Jun 2024 16:02:02 +0400 Subject: [PATCH] build(Dockerfile): build `irohad` and `kagami` only MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Nurzhan Sakén --- Dockerfile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index be530a66115..dd936ed6324 100644 --- a/Dockerfile +++ b/Dockerfile @@ -37,8 +37,7 @@ ENV CARGO_TARGET_X86_64_UNKNOWN_LINUX_MUSL_LINKER=/x86_64-linux-musl-native/bin/ # builder stage WORKDIR /iroha COPY . . -# FIXME: consider building only `irohad`, `iroha`, and `kagami`? -RUN cargo build --target x86_64-unknown-linux-musl --profile deploy +RUN cargo build -p irohad -p kagami --target x86_64-unknown-linux-musl --profile deploy # final image @@ -77,7 +76,6 @@ RUN <