Skip to content

Commit 991f2d9

Browse files
Merge pull request #94 from MohammadiIram/ovms-poc-1
Use ARGS correctly
2 parents b38936a + c5f37f6 commit 991f2d9

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

Dockerfile.redhat

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -340,8 +340,7 @@ ARG JOBS=16
340340

341341
RUN mkdir -p /tmp/bazel-output && \
342342
bazel --output_base=/tmp/bazel-output \
343-
--jobs=$JOBS ${CAPI_FLAGS} \
344-
build //src:ovms_shared && \
343+
build --jobs=$JOBS ${CAPI_FLAGS} //src:ovms_shared && \
345344
find /tmp/bazel-output -name libovms_shared.so && \
346345
LIB_PATH=$(find /tmp/bazel-output -name libovms_shared.so | head -n1) && \
347346
echo "Found built file: $LIB_PATH" && \
@@ -364,8 +363,7 @@ RUN bazel build --jobs=$JOBS ${CAPI_FLAGS} //src:capi_benchmark && \
364363

365364
RUN mkdir -p /tmp/bazel-output && \
366365
bazel --output_base=/tmp/bazel-output \
367-
--jobs=$JOBS ${CAPI_FLAGS} \
368-
build //src:capi_benchmark && \
366+
build --jobs=$JOBS ${CAPI_FLAGS} //src:capi_benchmark && \
369367
CAPI_BIN=$(find /tmp/bazel-output -type f -name capi_benchmark | head -n1) && \
370368
echo "Found built capi_benchmark: $CAPI_BIN" && \
371369
chmod +x "$CAPI_BIN" && \

0 commit comments

Comments
 (0)