2023-02-23 17:24:11 +01:00
|
|
|
ARG REGISTRY_URL
|
|
|
|
|
|
|
|
FROM ${REGISTRY_URL}/almalinux:9
|
2023-02-08 10:06:25 +01:00
|
|
|
|
2023-05-19 13:32:38 +02:00
|
|
|
RUN bash -e <<EOF
|
2023-02-08 10:06:25 +01:00
|
|
|
|
2023-05-19 13:32:38 +02:00
|
|
|
echo '[goreleaser]
|
|
|
|
name=GoReleaser
|
|
|
|
baseurl=https://repo.goreleaser.com/yum/
|
|
|
|
enabled=1
|
|
|
|
gpgcheck=0' | tee /etc/yum.repos.d/goreleaser.repo
|
|
|
|
|
2023-09-14 13:46:05 +02:00
|
|
|
dnf -y install gcc git gettext rpm-build dos2unix python3 epel-release nfpm openssl-devel jq zstd selinux-policy-devel
|
2023-02-08 10:06:25 +01:00
|
|
|
dnf -y install perl-App-cpanminus perl-JSON
|
|
|
|
cpanm App::FatPacker
|
|
|
|
cpanm File::Copy::Recursive
|
|
|
|
dnf clean all
|
|
|
|
|
|
|
|
EOF
|
|
|
|
|
|
|
|
WORKDIR /src
|