Skip to content

Commit b32a99b

Browse files
committed
Migrate from CentOS to Alma Linux 9
1 parent 8064bb8 commit b32a99b

File tree

40 files changed

+28
-28
lines changed

40 files changed

+28
-28
lines changed

.github/workflows/ci.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@ jobs:
1212
include:
1313
- image: accumulo
1414
test: accumulo
15-
- image: centos7-oj17
15+
- image: almalinux9-oj17
1616
platforms: linux/amd64,linux/arm64
17-
- image: centos7-oj17-openldap-referrals
17+
- image: almalinux9-oj17-openldap-referrals
1818
platforms: linux/amd64,linux/arm64
1919
test: openldap
20-
- image: centos7-oj17-openldap-active-directory
20+
- image: almalinux9-oj17-openldap-active-directory
2121
platforms: linux/amd64,linux/arm64
2222
test: openldap-active-directory
2323
- image: spark3-iceberg

.github/workflows/release.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ jobs:
6969
exit 0
7070
fi
7171
skipped_images=(
72-
testing/centos7-oj17-openldap-base
72+
testing/almalinux9-oj17-openldap-base
7373
)
7474
single_arch=(
7575
testing/accumulo
@@ -79,11 +79,11 @@ jobs:
7979
testing/hdp3.1-hive-kerberized-kms
8080
)
8181
multi_arch=(
82-
testing/centos7-oj11
83-
testing/centos7-oj17
84-
testing/centos7-oj17-openldap
85-
testing/centos7-oj17-openldap-referrals
86-
testing/centos7-oj17-openldap-active-directory
82+
testing/almalinux9-oj11
83+
testing/almalinux9-oj17
84+
testing/almalinux9-oj17-openldap
85+
testing/almalinux9-oj17-openldap-referrals
86+
testing/almalinux9-oj17-openldap-active-directory
8787
testing/hive3.1-hive
8888
testing/kerberos
8989
testing/phoenix5

archived/hdp3.1-hive/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ RUN yum install -y \
4141
lzo-devel \
4242
lzop \
4343

44-
# Mysql is not present in Centos7 repositories, use mariadb as a replacement
44+
# Mysql is not present in Alma Linux 9 repositories, use mariadb as a replacement
4545
mariadb-server \
4646
mysql-connector-java \
4747

Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
version: '2.0'
22
services:
33
openldap:
4-
image: testing/centos7-oj17-openldap-active-directory:latest$ARCH
4+
image: testing/almalinux9-oj17-openldap-active-directory:latest$ARCH
+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
version: '2.0'
22
services:
33
openldap:
4-
image: testing/centos7-oj17-openldap:latest$ARCH
4+
image: testing/almalinux9-oj17-openldap:latest$ARCH

testing/accumulo/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
# limitations under the License.
1212

1313
ARG ARCH
14-
FROM testing/centos7-oj11:unlabelled$ARCH
14+
FROM testing/almalinux9-oj11:unlabelled$ARCH
1515

1616
ARG ACCUMULO_VERSION=3.0.0
1717
ARG HADOOP_VERSION=3.3.5

testing/centos7-oj11/Dockerfile testing/almalinux9-oj11/Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
# See the License for the specific language governing permissions and
1111
# limitations under the License.
1212

13-
FROM library/centos:7
13+
FROM library/almalinux:9
1414

1515
COPY ./files /
1616

@@ -30,7 +30,7 @@ RUN \
3030
alternatives --set javac /usr/lib/jvm/zulu-11/bin/javac && \
3131
\
3232
# install supervisor
33-
yum --enablerepo=extras install -y setuptools epel-release && \
33+
yum --enablerepo=extras install -y epel-release && \
3434
yum install -y supervisor && \
3535
\
3636
# install commonly needed packages

testing/centos7-oj17-openldap-active-directory/Dockerfile testing/almalinux9-oj17-openldap-active-directory/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
# limitations under the License.
1212

1313
ARG ARCH
14-
FROM testing/centos7-oj17-openldap-base:unlabelled$ARCH
14+
FROM testing/almalinux9-oj17-openldap-base:unlabelled$ARCH
1515

1616
# COPY CONFIGURATION
1717
COPY ./files /

testing/centos7-oj17-openldap-base/Dockerfile testing/almalinux9-oj17-openldap-base/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
# limitations under the License.
1212

1313
ARG ARCH
14-
FROM testing/centos7-oj17:unlabelled$ARCH
14+
FROM testing/almalinux9-oj17:unlabelled$ARCH
1515

1616
# INSTALL OPENLDAP
1717
RUN yum -y install openssl openldap openldap-clients openldap-servers \

testing/centos7-oj17-openldap-referrals/Dockerfile testing/almalinux9-oj17-openldap-referrals/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
# limitations under the License.
1212

1313
ARG ARCH
14-
FROM testing/centos7-oj17-openldap:unlabelled$ARCH
14+
FROM testing/almalinux9-oj17-openldap:unlabelled$ARCH
1515

1616
# COPY CONFIGURATION
1717
COPY ./files /

testing/centos7-oj17-openldap/Dockerfile testing/almalinux9-oj17-openldap/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
# limitations under the License.
1212

1313
ARG ARCH
14-
FROM testing/centos7-oj17-openldap-base:unlabelled$ARCH
14+
FROM testing/almalinux9-oj17-openldap-base:unlabelled$ARCH
1515

1616
# COPY CONFIGURATION
1717
COPY ./files /

testing/centos7-oj17/Dockerfile testing/almalinux9-oj17/Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
# See the License for the specific language governing permissions and
1111
# limitations under the License.
1212

13-
FROM library/centos:7
13+
FROM library/almalinux:9
1414

1515
COPY ./files /
1616

@@ -30,7 +30,7 @@ RUN \
3030
alternatives --set javac /usr/lib/jvm/zulu-17/bin/javac && \
3131
\
3232
# install supervisor
33-
yum --enablerepo=extras install -y setuptools epel-release && \
33+
yum --enablerepo=extras install -y epel-release && \
3434
yum install -y supervisor && \
3535
\
3636
# install commonly needed packages

testing/hive3.1-hive/Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
# limitations under the License.
1212

1313
ARG ARCH
14-
FROM testing/centos7-oj17:unlabelled$ARCH
14+
FROM testing/almalinux9-oj17:unlabelled$ARCH
1515

1616
ARG JAVA8_ZULU_VERSION=8.64.0.19-ca-jdk8.0.345
1717

@@ -32,7 +32,7 @@ RUN yum install -y \
3232
alternatives --set javac /usr/lib/jvm/zulu-8/bin/javac \
3333
&& yum -q clean all && rm -rf /var/cache/yum
3434

35-
# Override JAVA_HOME inherited from testing/centos7-oj17
35+
# Override JAVA_HOME inherited from testing/almalinux9-oj17
3636
ENV JAVA_HOME=/usr/lib/jvm/zulu-8
3737

3838
ARG HADOOP_VERSION=3.1.2

testing/kerberos/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
# limitations under the License.
1212

1313
ARG ARCH
14-
FROM testing/centos7-oj17:unlabelled$ARCH
14+
FROM testing/almalinux9-oj17:unlabelled$ARCH
1515

1616
ARG ADDPRINC_ARGS="-maxrenewlife \"10 days\" +allow_renewable"
1717

testing/phoenix5/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
# limitations under the License.
1212

1313
ARG ARCH
14-
FROM testing/centos7-oj11:unlabelled$ARCH
14+
FROM testing/almalinux9-oj11:unlabelled$ARCH
1515

1616
ARG HBASE_VERSION=2.5.8
1717
ARG ZOOKEEPER_VERSION=3.9.2

testing/spark3-delta/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
# limitations under the License.
1212

1313
ARG ARCH
14-
FROM testing/centos7-oj11:unlabelled$ARCH
14+
FROM testing/almalinux9-oj11:unlabelled$ARCH
1515

1616
ARG SPARK_VERSION=3.5.0
1717
ARG HADOOP_VERSION=3

testing/spark3-hudi/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
# limitations under the License.
1212

1313
ARG ARCH
14-
FROM testing/centos7-oj11:unlabelled$ARCH
14+
FROM testing/almalinux-oj11:unlabelled$ARCH
1515

1616
ARG SPARK_VERSION=3.3.1
1717
ARG HADOOP_VERSION=3

testing/spark3-iceberg/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
# limitations under the License.
1212

1313
ARG ARCH
14-
FROM testing/centos7-oj11:unlabelled$ARCH
14+
FROM testing/almalinux9-oj11:unlabelled$ARCH
1515

1616
ARG SPARK_VERSION=3.4.2
1717
ARG HADOOP_VERSION=3

0 commit comments

Comments
 (0)