@@ -7,10 +7,10 @@ ARG BASE_BUILDER
77#  Use buildkit to skip unused base images: DOCKER_BUILDKIT=1
88
99#  Multiarch support
10- FROM  multiarch/qemu-user-static:x86_64-aarch64 as  multiarch-aarch64
10+ FROM  multiarch/qemu-user-static:x86_64-aarch64 AS  multiarch-aarch64
1111
1212#  rockylinux/8 base image
13- FROM  rockylinux:8 as  rockylinux-8-base
13+ FROM  rockylinux/rockylinux :8 AS  rockylinux-8-base
1414
1515#  Add for the YAML development libraries
1616RUN  sed -i 's/enabled=0/enabled=1/g'  /etc/yum.repos.d/Rocky-PowerTools.repo
@@ -25,7 +25,7 @@ RUN yum -y update && \
2525
2626#  rockylinux/8.arm64v8 base image
2727#  hadolint ignore=DL3029
28- FROM  --platform=arm64 rockylinux:8 as  rockylinux-8.arm64v8-base
28+ FROM  --platform=arm64 rockylinux/rockylinux :8 AS  rockylinux-8.arm64v8-base
2929
3030COPY  --from=multiarch-aarch64 /usr/bin/qemu-aarch64-static /usr/bin/qemu-aarch64-static
3131
@@ -44,7 +44,7 @@ RUN yum -y update && \
4444ARG  FLB_JEMALLOC_OPTIONS="--with-lg-page=16 --with-lg-quantum=3" 
4545ENV  FLB_JEMALLOC_OPTIONS=$FLB_JEMALLOC_OPTIONS
4646
47- FROM  rockylinux:9 as  rockylinux-9-base
47+ FROM  rockylinux/rockylinux :9 AS  rockylinux-9-base
4848
4949#  Add for the YAML development libraries
5050RUN  sed -i 's/enabled=0/enabled=1/g'  /etc/yum.repos.d/rocky-devel.repo
@@ -57,9 +57,43 @@ RUN yum -y update && \
5757    cyrus-sasl-lib openssl openssl-libs openssl-devel libyaml-devel pkgconf-pkg-config && \
5858    yum clean all
5959
60- #  rockylinux/8.arm64v8 base image
60+ #  rockylinux/9.arm64v8 base image
61+ #  hadolint ignore=DL3029
62+ FROM  --platform=arm64 rockylinux/rockylinux:9 AS rockylinux-9.arm64v8-base
63+ 
64+ COPY  --from=multiarch-aarch64 /usr/bin/qemu-aarch64-static /usr/bin/qemu-aarch64-static
65+ 
66+ #  Add for the YAML development libraries
67+ RUN  sed -i 's/enabled=0/enabled=1/g'  /etc/yum.repos.d/rocky-devel.repo
68+ 
69+ #  hadolint ignore=DL3033
70+ RUN  yum -y update && \
71+     yum install -y --allowerasing rpm-build curl ca-certificates gcc gcc-c++ cmake make bash \
72+     wget unzip systemd-devel wget flex bison \
73+     postgresql-libs postgresql-devel postgresql-server postgresql \
74+     cyrus-sasl-lib openssl openssl-libs openssl-devel libyaml-devel pkgconf-pkg-config && \
75+     yum clean all
76+ 
77+ #  Need larger page size
78+ ARG  FLB_JEMALLOC_OPTIONS="--with-lg-page=16 --with-lg-quantum=3" 
79+ ENV  FLB_JEMALLOC_OPTIONS=$FLB_JEMALLOC_OPTIONS
80+ 
81+ FROM  rockylinux/rockylinux:10 AS rockylinux-10-base
82+ 
83+ #  Add for the YAML development libraries
84+ RUN  sed -i 's/enabled=0/enabled=1/g'  /etc/yum.repos.d/rocky-devel.repo
85+ 
86+ #  hadolint ignore=DL3033
87+ RUN  yum -y update && \
88+     yum install -y --allowerasing rpm-build curl ca-certificates gcc gcc-c++ cmake make bash \
89+     wget unzip systemd-devel wget flex bison \
90+     postgresql-libs postgresql-devel postgresql-server postgresql \
91+     cyrus-sasl-lib openssl openssl-libs openssl-devel libyaml-devel pkgconf-pkg-config && \
92+     yum clean all
93+ 
94+ #  rockylinux/10.arm64v8 base image
6195#  hadolint ignore=DL3029
62- FROM  --platform=arm64 rockylinux:9 as  rockylinux-9 .arm64v8-base
96+ FROM  --platform=arm64 rockylinux/rockylinux:10 AS  rockylinux-10 .arm64v8-base
6397
6498COPY  --from=multiarch-aarch64 /usr/bin/qemu-aarch64-static /usr/bin/qemu-aarch64-static
6599
@@ -80,7 +114,7 @@ ENV FLB_JEMALLOC_OPTIONS=$FLB_JEMALLOC_OPTIONS
80114
81115#  Common build for all distributions now
82116#  hadolint ignore=DL3006
83- FROM  $BASE_BUILDER as  builder
117+ FROM  $BASE_BUILDER AS  builder
84118
85119ARG  FLB_NIGHTLY_BUILD
86120ENV  FLB_NIGHTLY_BUILD=$FLB_NIGHTLY_BUILD
0 commit comments