@@ -7,10 +7,10 @@ ARG BASE_BUILDER
7
7
# Use buildkit to skip unused base images: DOCKER_BUILDKIT=1
8
8
9
9
# 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
11
11
12
12
# rockylinux/8 base image
13
- FROM rockylinux:8 as rockylinux-8-base
13
+ FROM rockylinux/rockylinux :8 AS rockylinux-8-base
14
14
15
15
# Add for the YAML development libraries
16
16
RUN sed -i 's/enabled=0/enabled=1/g' /etc/yum.repos.d/Rocky-PowerTools.repo
@@ -25,7 +25,7 @@ RUN yum -y update && \
25
25
26
26
# rockylinux/8.arm64v8 base image
27
27
# 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
29
29
30
30
COPY --from=multiarch-aarch64 /usr/bin/qemu-aarch64-static /usr/bin/qemu-aarch64-static
31
31
@@ -44,7 +44,7 @@ RUN yum -y update && \
44
44
ARG FLB_JEMALLOC_OPTIONS="--with-lg-page=16 --with-lg-quantum=3"
45
45
ENV FLB_JEMALLOC_OPTIONS=$FLB_JEMALLOC_OPTIONS
46
46
47
- FROM rockylinux:9 as rockylinux-9-base
47
+ FROM rockylinux/rockylinux :9 AS rockylinux-9-base
48
48
49
49
# Add for the YAML development libraries
50
50
RUN sed -i 's/enabled=0/enabled=1/g' /etc/yum.repos.d/rocky-devel.repo
@@ -57,9 +57,43 @@ RUN yum -y update && \
57
57
cyrus-sasl-lib openssl openssl-libs openssl-devel libyaml-devel pkgconf-pkg-config && \
58
58
yum clean all
59
59
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
61
95
# 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
63
97
64
98
COPY --from=multiarch-aarch64 /usr/bin/qemu-aarch64-static /usr/bin/qemu-aarch64-static
65
99
@@ -80,7 +114,7 @@ ENV FLB_JEMALLOC_OPTIONS=$FLB_JEMALLOC_OPTIONS
80
114
81
115
# Common build for all distributions now
82
116
# hadolint ignore=DL3006
83
- FROM $BASE_BUILDER as builder
117
+ FROM $BASE_BUILDER AS builder
84
118
85
119
ARG FLB_NIGHTLY_BUILD
86
120
ENV FLB_NIGHTLY_BUILD=$FLB_NIGHTLY_BUILD
0 commit comments