Skip to content

Commit 985b4d4

Browse files
author
Patrick Stephens
committed
workflows: fix up linting
Signed-off-by: Patrick Stephens <pat@chronosphere.io>
1 parent 4ee4513 commit 985b4d4

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

dockerfiles/Dockerfile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,11 +72,10 @@ ARG WAMR_BUILD_TARGET
7272
ARG EXTRA_CMAKE_FLAGS
7373
ENV EXTRA_CMAKE_FLAGS=${EXTRA_CMAKE_FLAGS}
7474

75-
RUN [ -n "${WAMR_BUILD_TARGET:-}" ] && export EXTRA_CMAKE_FLAGS="$EXTRA_CMAKE_FLAGS -DWAMR_BUILD_TARGET=$WAMR_BUILD_TARGET"
76-
7775
# We do not want word splitting for EXTRA_CMAKE_FLAGS in case multiple are defined
7876
# hadolint ignore=SC2086
79-
RUN cmake -DFLB_RELEASE=On \
77+
RUN [ -n "${WAMR_BUILD_TARGET:-}" ] && EXTRA_CMAKE_FLAGS="$EXTRA_CMAKE_FLAGS -DWAMR_BUILD_TARGET=$WAMR_BUILD_TARGET"; \
78+
cmake -DFLB_RELEASE=On \
8079
-DFLB_JEMALLOC=On \
8180
-DFLB_TLS=On \
8281
-DFLB_SHARED_LIB=Off \

0 commit comments

Comments
 (0)