Skip to content

Commit

Permalink
Jenkinsfile: add Rocky Linux and AlmaLinux
Browse files Browse the repository at this point in the history
CentOS Stream 8 will reach its EOL within less than a year ahead of Rocky and Alma:

- CentOS Stream 8: 2024-05-31
- Rocky Linux 8: 2029-05-31
- AlmaLinux 8: 2029

So RPMs for Rocky and Alma have to be built without depending on CentOS Stream.

Part of docker/docker-ce-packaging issue 933

Signed-off-by: Akihiro Suda <[email protected]>
  • Loading branch information
AkihiroSuda committed Aug 3, 2023
1 parent 2412c03 commit d6a777b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
8 changes: 6 additions & 2 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,12 @@
def images = [
[image: "docker.io/library/amazonlinux:2", arches: ["aarch64"]],
[image: "docker.io/library/centos:7", arches: ["amd64", "aarch64"]],
[image: "quay.io/centos/centos:stream8", arches: ["amd64", "aarch64"]],
[image: "quay.io/centos/centos:stream9", arches: ["amd64", "aarch64"]],
[image: "quay.io/centos/centos:stream8", arches: ["amd64", "aarch64"]], // EOL: 2024-05-31
[image: "quay.io/centos/centos:stream9", arches: ["amd64", "aarch64"]], // EOL: 2027
[image: "docker.io/library/rockylinux:8.8", arches: ["amd64", "aarch64"]], // Rocky Linux 8 (EOL: 2029-05-31)
[image: "docker.io/library/rockylinux:9.2", arches: ["amd64", "aarch64"]], // Rocky Linux 9 (EOL: 2032-05-31)
[image: "docker.io/library/almalinux:8.8", arches: ["amd64", "aarch64"]], // AlmaLinux 8 (EOL: 2029)
[image: "docker.io/library/almalinux:9.2", arches: ["amd64", "aarch64"]], // AlmaLinux 9 (EOL: 2032)
[image: "docker.io/library/debian:buster", arches: ["amd64", "aarch64", "armhf"]], // Debian 10 (EOL: 2024)
[image: "docker.io/library/debian:bullseye", arches: ["amd64", "aarch64", "armhf"]], // Debian 11 (stable)
[image: "docker.io/library/debian:bookworm", arches: ["amd64", "aarch64", "armhf"]], // Debian 12 (next stable)
Expand Down
4 changes: 4 additions & 0 deletions dockerfiles/rpm.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@ FROM redhat-base AS ol-base
RUN . "/etc/os-release"; if [ "${VERSION_ID%.*}" -eq 7 ]; then yum-config-manager --enable ol7_addons --enable ol7_optional_latest; fi
RUN . "/etc/os-release"; if [ "${VERSION_ID%.*}" -eq 8 ]; then yum-config-manager --enable ol8_addons; fi

FROM redhat-base AS rockylinux-base

FROM redhat-base AS almalinux-base

FROM ${BUILD_IMAGE} AS fedora-base
RUN dnf install -y rpm-build git dnf-plugins-core

Expand Down

0 comments on commit d6a777b

Please sign in to comment.