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/ && \