centreon-plugins/.github/docker/packaging/Dockerfile.packaging-plugins-alma9
Evan-Adam 799aa4e2b5
ci(plugin) update JSON::Path dep on alma8 to same version as other OS
Alma8 don't provide Exporter::shiny in a recent enough version (provide 1.000000 instead of 1.002002) so we must build this dep.

REF:CTOR-525
2024-05-15 15:30:30 +02:00

22 lines
464 B
Docker

ARG REGISTRY_URL=docker.io
FROM ${REGISTRY_URL}/almalinux:9
RUN bash -e <<EOF
echo '[goreleaser]
name=GoReleaser
baseurl=https://repo.goreleaser.com/yum/
enabled=1
gpgcheck=0' | tee /etc/yum.repos.d/goreleaser.repo
dnf -y install gcc git gettext rpm-build dos2unix python3 epel-release nfpm openssl-devel jq zstd selinux-policy-devel
dnf -y install perl-App-cpanminus perl-JSON
cpanm App::FatPacker
cpanm File::Copy::Recursive
dnf clean all
EOF
WORKDIR /src