Skip to content

Commit 2a28d1b

Browse files
committed
correct hadolint
1 parent 1fe1361 commit 2a28d1b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Dockerfile.redhat

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ ARG LTO_ENABLE=OFF
347347
WORKDIR /ovms
348348
# Konflux has a hard time locating the built binaries. Need to put it
349349
# in a known location.
350-
# hadolint ignore=DL4006
350+
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
351351
RUN mkdir -p /tmp/bazel-output && \
352352
bazel --output_base=/tmp/bazel-output \
353353
build --jobs=$JOBS ${CAPI_FLAGS} //src:ovms_shared && \
@@ -364,7 +364,6 @@ RUN bazel build --jobs $JOBS ${CAPI_FLAGS} //src:capi_cpp_example
364364
# C-API benchmark app
365365
# Konflux has a hard time locating the built binaries. Need to put it
366366
# in a known location.
367-
# hadolint ignore=DL4006
368367
RUN mkdir -p /tmp/bazel-output && \
369368
bazel --output_base=/tmp/bazel-output \
370369
build --jobs=$JOBS ${CAPI_FLAGS} //src:capi_benchmark && \

0 commit comments

Comments
 (0)