Skip to content

Commit 5972dda

Browse files
Update Dockerfile.redhat
1 parent 704998a commit 5972dda

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

Dockerfile.redhat

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -360,8 +360,8 @@ ARG JOBS=16
360360

361361
RUN mkdir -p /tmp/bazel-output && \
362362
bazel --output_base=/tmp/bazel-output \
363-
--jobs=$JOBS ${CAPI_FLAGS} \
364-
build //src:ovms_shared && \
363+
${CAPI_FLAGS} \
364+
build --jobs=${JOBS} //src:ovms_shared && \
365365
find /tmp/bazel-output -name libovms_shared.so && \
366366
LIB_PATH=$(find /tmp/bazel-output -name libovms_shared.so | head -n1) && \
367367
echo "Found built file: $LIB_PATH" && \
@@ -384,8 +384,7 @@ RUN bazel build --jobs=$JOBS ${CAPI_FLAGS} //src:capi_benchmark && \
384384

385385
RUN mkdir -p /tmp/bazel-output && \
386386
bazel --output_base=/tmp/bazel-output \
387-
--jobs=$JOBS ${CAPI_FLAGS} \
388-
build //src:capi_benchmark && \
387+
build --jobs=$JOBS ${CAPI_FLAGS} //src:capi_benchmark && \
389388
CAPI_BIN=$(find /tmp/bazel-output -type f -name capi_benchmark | head -n1) && \
390389
echo "Found built capi_benchmark: $CAPI_BIN" && \
391390
chmod +x "$CAPI_BIN" && \

0 commit comments

Comments
 (0)