From 6f49d48b886413910156230c72287fa63ab754f8 Mon Sep 17 00:00:00 2001 From: Hiroshi Hatake Date: Mon, 7 Oct 2024 20:08:40 +0900 Subject: [PATCH] dockerfiles: centos-7: Suppress SC1091 from hadolint Signed-off-by: Hiroshi Hatake --- dockerfiles/Dockerfile.centos7 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dockerfiles/Dockerfile.centos7 b/dockerfiles/Dockerfile.centos7 index 8b4a198713a..9c563f4881e 100644 --- a/dockerfiles/Dockerfile.centos7 +++ b/dockerfiles/Dockerfile.centos7 @@ -23,6 +23,8 @@ RUN sed -i -e "s/^mirrorlist=http:\/\/mirrorlist.centos.org/#mirrorlist=http:\/\ COPY . /src/ WORKDIR /src/build +# /opt/rh/devtoolset-8/enable is from centos-release-scl package. +# hadolint ignore=SC1091 RUN source /opt/rh/devtoolset-8/enable && \ cmake3 -DCMAKE_INSTALL_PREFIX=/opt/fluent-bit/ -DCMAKE_INSTALL_SYSCONFDIR=/etc/ \ -DFLB_RELEASE=On -DFLB_TRACE=On \