-
Notifications
You must be signed in to change notification settings - Fork 1.8k
packaging: provide CentOS Stream, Alma and Rocky Linux builds for version 10 #10906
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
patrick-stephens
merged 9 commits into
fluent:master
from
FluentDo:10469_alma_rocky_centos_10
Sep 19, 2025
Merged
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
95f1fe5
packaging: add AlmaLinux 10 support
patrick-stephens 2b0dcbf
packaging: add AlmaLinux 10 in build/test pipelines
patrick-stephens ce8e9ae
packaging: add AlmaLinux 10 in readme
patrick-stephens e89d1c0
packaging: add Rocky Linux 10 support
patrick-stephens 072e744
packaging: add Rocky Linux 10 in build/test pipelines
patrick-stephens 2bb85bf
packaging: fix Rocky Linux images issue
patrick-stephens fcaf051
packaging: add CentOS Stream 10 support
patrick-stephens 87a83d0
packaging: add CentOS Stream 10 in build/test pipelines
patrick-stephens 2e0328c
workflows: fix aws cli installation
patrick-stephens File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -225,6 +225,69 @@ | |
ARG FLB_JEMALLOC_OPTIONS="--with-lg-page=16 --with-lg-quantum=3" | ||
ENV FLB_JEMALLOC_OPTIONS=$FLB_JEMALLOC_OPTIONS | ||
|
||
FROM quay.io/centos/centos:stream10 AS centos-10-base | ||
|
||
ENV CMAKE_HOME="/opt/cmake" | ||
ARG CMAKE_VERSION="3.31.6" | ||
ARG CMAKE_URL="https://github.com/Kitware/CMake/releases/download" | ||
|
||
# Add for the YAML development libraries | ||
# hadolint ignore=DL3033,DL3041 | ||
RUN dnf -y install 'dnf-command(config-manager)' && dnf -y config-manager --set-enabled crb && \ | ||
Check warning on line 236 in packaging/distros/centos/Dockerfile
|
||
dnf -y install rpm-build ca-certificates gcc gcc-c++ make bash \ | ||
wget unzip systemd-devel wget flex bison \ | ||
postgresql-libs postgresql-devel postgresql-server postgresql \ | ||
cyrus-sasl-lib cyrus-sasl-devel openssl openssl-libs openssl-devel libcurl-devel pkgconf-pkg-config \ | ||
libyaml-devel zlib-devel \ | ||
tar gzip && \ | ||
dnf clean all && \ | ||
mkdir -p "${CMAKE_HOME}" && \ | ||
cmake_download_url="${CMAKE_URL}/v${CMAKE_VERSION}/cmake-${CMAKE_VERSION}-linux-$(uname -m).tar.gz" && \ | ||
echo "Downloading CMake ${CMAKE_VERSION}: ${cmake_download_url} -> ${CMAKE_HOME}" && \ | ||
curl -jksSL "${cmake_download_url}" | tar -xzf - -C "${CMAKE_HOME}" --strip-components 1 | ||
|
||
ENV PATH="${CMAKE_HOME}/bin:${PATH}" | ||
|
||
ARG FLB_OUT_PGSQL=On | ||
ENV FLB_OUT_PGSQL=$FLB_OUT_PGSQL | ||
|
||
# hadolint ignore=DL3029 | ||
FROM --platform=arm64 quay.io/centos/centos:stream10 AS centos-10.arm64v8-base | ||
|
||
COPY --from=multiarch-aarch64 /usr/bin/qemu-aarch64-static /usr/bin/qemu-aarch64-static | ||
|
||
ENV CMAKE_HOME="/opt/cmake" | ||
ARG CMAKE_VERSION="3.31.6" | ||
ARG CMAKE_URL="https://github.com/Kitware/CMake/releases/download" | ||
|
||
# Add for the YAML development libraries | ||
# hadolint ignore=DL3033,DL3041 | ||
RUN dnf -y install 'dnf-command(config-manager)' && dnf -y config-manager --set-enabled crb && \ | ||
Check warning on line 265 in packaging/distros/centos/Dockerfile
|
||
dnf -y install rpm-build ca-certificates gcc gcc-c++ make bash \ | ||
wget unzip systemd-devel wget flex bison \ | ||
postgresql-libs postgresql-devel postgresql-server postgresql \ | ||
cyrus-sasl-lib cyrus-sasl-devel openssl openssl-libs openssl-devel libcurl-devel pkgconf-pkg-config \ | ||
libyaml-devel zlib-devel \ | ||
tar gzip && \ | ||
dnf clean all && \ | ||
mkdir -p "${CMAKE_HOME}" && \ | ||
cmake_download_url="${CMAKE_URL}/v${CMAKE_VERSION}/cmake-${CMAKE_VERSION}-linux-$(uname -m).tar.gz" && \ | ||
echo "Downloading CMake ${CMAKE_VERSION}: ${cmake_download_url} -> ${CMAKE_HOME}" && \ | ||
curl -jksSL "${cmake_download_url}" | tar -xzf - -C "${CMAKE_HOME}" --strip-components 1 | ||
|
||
ENV PATH="${CMAKE_HOME}/bin:${PATH}" | ||
|
||
ARG FLB_OUT_PGSQL=On | ||
ENV FLB_OUT_PGSQL=$FLB_OUT_PGSQL | ||
ARG FLB_UNICODE_ENCODER=On | ||
ENV FLB_UNICODE_ENCODER=$FLB_UNICODE_ENCODER | ||
ARG FLB_KAFKA=On | ||
ENV FLB_KAFKA=$FLB_KAFKA | ||
|
||
# Need larger page size | ||
ARG FLB_JEMALLOC_OPTIONS="--with-lg-page=16 --with-lg-quantum=3" | ||
ENV FLB_JEMALLOC_OPTIONS=$FLB_JEMALLOC_OPTIONS | ||
|
||
# Common build for all distributions now | ||
# hadolint ignore=DL3006 | ||
FROM $BASE_BUILDER AS builder | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧩 Analysis chain
Harden AWS CLI install (snapd availability, PATH, version drift).
Suggested patch:
🌐 Web query:
💡 Result:
Short answer: Yes.
Notes: some users have seen intermittent problems with snap operations on hosted runners (e.g. snap install hanging), so while snapd and /snap/bin are present, snap commands may sometimes behave unexpectedly on CI. [2]
Sources:
🌐 Web query:
💡 Result:
sudo apt-get install -y awscli (Ubuntu 20.04 focal): installs the Ubuntu/Debian package "awscli" from focal (Universe) — this is AWS CLI v1 (focal-updates packaged as 1.18.69; base was 1.17.14). [1][2]
sudo snap install aws-cli --classic: the snap is the officially-published snap for the AWS CLI; the snap's default v2 channel publishes AWS CLI v2 (the snap can also be installed on the v1 channel if you explicitly request --channel=v1/stable). Snap installs therefore typically give you AWS CLI v2 unless you choose the v1 channel. [3][4]
Sources:
Harden AWS CLI install: avoid mixing v1/v2 and make snap fallback reliable
File: .github/workflows/call-build-linux-packages.yaml (lines 166–168)