Skip to content

Commit

Permalink
add alma 9 images
Browse files Browse the repository at this point in the history
  • Loading branch information
h-vetinari committed Nov 11, 2024
1 parent af46671 commit 22a5362
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 2 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,30 @@ jobs:
DISTRO_VER: "8"
SHORT_DESCRIPTION: "conda-forge build image for Alma 8 on ppc64le"

- DOCKERIMAGE: linux-anvil-alma-x86_64
DOCKERFILE: linux-anvil
DOCKERTAG: "9"
DISTRO_ARCH: "amd64"
DISTRO_NAME: "almalinux"
DISTRO_VER: "9"
SHORT_DESCRIPTION: "conda-forge build image for Alma 9 on x86_64"

- DOCKERIMAGE: linux-anvil-alma-aarch64
DOCKERFILE: linux-anvil
DOCKERTAG: "9"
DISTRO_ARCH: "arm64"
DISTRO_NAME: "almalinux"
DISTRO_VER: "9"
SHORT_DESCRIPTION: "conda-forge build image for Alma 9 on aarch64"

- DOCKERIMAGE: linux-anvil-alma-ppc64le
DOCKERFILE: linux-anvil
DOCKERTAG: "9"
DISTRO_ARCH: "ppc64le"
DISTRO_NAME: "almalinux"
DISTRO_VER: "9"
SHORT_DESCRIPTION: "conda-forge build image for Alma 9 on ppc64le"

env:
DOCKERIMAGE: ${{ matrix.cfg.DOCKERIMAGE }}
DOCKERFILE: ${{ matrix.cfg.DOCKERFILE }}
Expand Down
2 changes: 1 addition & 1 deletion linux-anvil/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ RUN /opt/docker/bin/fix_rpm

# Install basic requirements.
COPY scripts/yum_clean_all /opt/docker/bin/
RUN if [ "${DISTRO_NAME}${DISTRO_VER}" = "almalinux8" ]; then \
RUN if [ "${DISTRO_NAME}" = "almalinux" ]; then \
EXTRA_YUM_PKGS="glibc-minimal-langpack glibc-langpack-en"; \
fi && \
yum update -y && \
Expand Down
2 changes: 1 addition & 1 deletion scripts/fix_rpm
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ if [[ "${DISTRO_NAME}${DISTRO_VER}" == "centos7" ]]; then
fi
elif [ "${DISTRO_NAME}${DISTRO_VER}" = "ubi8" ]; then
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
elif [ "${DISTRO_NAME}${DISTRO_VER}" = "almalinux8" ]; then
elif [ "${DISTRO_NAME}" = "almalinux" ]; then
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux
fi

Expand Down

0 comments on commit 22a5362

Please sign in to comment.