centreon-plugins/.github/docker/Dockerfile.packaging-plugin...

22 lines
407 B
Docker

ARG REGISTRY_URL
FROM ${REGISTRY_URL}/almalinux:8
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 git gettext rpm-build dos2unix python3 epel-release nfpm
dnf -y install perl-App-cpanminus perl-JSON
cpanm App::FatPacker
cpanm File::Copy::Recursive
dnf clean all
EOF
WORKDIR /src