Skip to content

Commit 11ced62

Browse files
committed
RHAIENG-287: fix(Dockerfiles): use 2>&1 to avoid Hadolint SC3029 warning
``` ./codeserver/ubi9-python-3.12/Dockerfile.cpu:282 SC3029 warning: In POSIX sh, |& in place of 2>&1 | is undefined. ```
1 parent 8f3e063 commit 11ced62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

codeserver/ubi9-python-3.12/Dockerfile.cpu

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ COPY ${CODESERVER_SOURCE_CODE}/test /tmp/test
281281
# TODO(jdanek): add --mount=type=bind,target=/opt/app-root/src
282282
RUN <<'EOF'
283283
set -Eeuxo pipefail
284-
python3 /tmp/test/test_startup.py |& tee /tmp/test_log.txt
284+
python3 /tmp/test/test_startup.py 2>&1 | tee /tmp/test_log.txt
285285
EOF
286286

287287
from codeserver

0 commit comments

Comments
 (0)