From 5f053909286776ed58911332cdf35e015a3b7e57 Mon Sep 17 00:00:00 2001 From: Noel Kwan Date: Tue, 20 Aug 2024 17:04:01 +0800 Subject: [PATCH] pass in cargo profile explicitly --- docker/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index 7949692e26ee..411396b98a99 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -73,7 +73,7 @@ ENV ENABLE_BUILD_DASHBOARD=1 ENV OPENSSL_STATIC=1 RUN cargo fetch && \ - cargo build -p risingwave_cmd_all --features "rw-static-link" --features all-udf && \ + cargo build -p risingwave_cmd_all --profile ${CARGO_PROFILE} --features "rw-static-link" --features all-udf && \ mkdir -p /risingwave/bin && \ mv /risingwave/target/${CARGO_PROFILE}/risingwave /risingwave/bin/ && \ mv /risingwave/target/${CARGO_PROFILE}/risingwave.dwp /risingwave/bin/ && \