Skip to content

Commit

Permalink
workflows: pr-compile-centos-7: Use devtoolset-8 to compile simdutf l…
Browse files Browse the repository at this point in the history
…ibrary

Signed-off-by: Hiroshi Hatake <[email protected]>
  • Loading branch information
cosmo0920 committed Oct 7, 2024
1 parent 355e048 commit 88bc199
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions dockerfiles/Dockerfile.centos7
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,25 @@ RUN sed -i -e "s/^mirrorlist=http:\/\/mirrorlist.centos.org/#mirrorlist=http:\/\
cyrus-sasl-lib cyrus-sasl-devel openssl openss-libs openssl-devel \
postgresql-libs postgresql-devel postgresql-server postgresql libyaml-devel && \
yum install -y epel-release && \
yum install -y cmake3
yum install -y cmake3 && \
yum install -y centos-release-scl && \
sed -i -e "s/^mirrorlist=http:\/\/mirrorlist.centos.org/#mirrorlist=http:\/\/mirrorlist.centos.org/g" /etc/yum.repos.d/CentOS-SCLo-scl.repo && \
sed -i -e "s/^# baseurl=http:\/\/mirror.centos.org/baseurl=http:\/\/vault.centos.org/g" /etc/yum.repos.d/CentOS-SCLo-scl.repo && \
sed -i -e "s/^mirrorlist=http:\/\/mirrorlist.centos.org/#mirrorlist=http:\/\/mirrorlist.centos.org/g" /etc/yum.repos.d/CentOS-SCLo-scl-rh.repo && \
sed -i -e "s/^#baseurl=http:\/\/mirror.centos.org/baseurl=http:\/\/vault.centos.org/g" /etc/yum.repos.d/CentOS-SCLo-scl-rh.repo && \
yum install -y devtoolset-8

COPY . /src/
WORKDIR /src/build

RUN cmake3 -DCMAKE_INSTALL_PREFIX=/opt/fluent-bit/ -DCMAKE_INSTALL_SYSCONFDIR=/etc/ \
RUN source /opt/rh/devtoolset-8/enable && \

Check notice on line 26 in dockerfiles/Dockerfile.centos7

View workflow job for this annotation

GitHub Actions / hadolint

[hadolint] dockerfiles/Dockerfile.centos7#L26 <SC1091>(https://github.com/koalaman/shellcheck/wiki/SC1091)

Not following: File not included in mock.
Raw output
message:"Not following: File not included in mock."  location:{path:"dockerfiles/Dockerfile.centos7"  range:{start:{line:26  column:1}}}  severity:INFO  source:{name:"hadolint"  url:"https://github.com/hadolint/hadolint"}  code:{value:"SC1091"  url:"https://github.com/koalaman/shellcheck/wiki/SC1091"}
cmake3 -DCMAKE_INSTALL_PREFIX=/opt/fluent-bit/ -DCMAKE_INSTALL_SYSCONFDIR=/etc/ \
-DFLB_RELEASE=On -DFLB_TRACE=On \
-DFLB_TESTS_INTERNAL=On -DFLB_TESTS_RUNTIME=On \
-DFLB_SQLDB=On -DFLB_HTTP_SERVER=On \
-DFLB_OUT_KAFKA=On \
-DFLB_JEMALLOC=On \
-DFLB_CHUNK_TRACE=On \
-DFLB_OUT_PGSQL=On ../
-DFLB_OUT_PGSQL=On -DFLB_UNICODE_ENCODER=On ../

RUN make -j "$(getconf _NPROCESSORS_ONLN)"

0 comments on commit 88bc199

Please sign in to comment.