2024-05-15 15:30:30 +02:00
|
|
|
ARG REGISTRY_URL=docker.io
|
2023-02-23 17:24:11 +01:00
|
|
|
|
|
|
|
FROM ${REGISTRY_URL}/centos:7
|
2023-01-10 15:03:40 +01:00
|
|
|
|
2023-05-19 13:32:38 +02:00
|
|
|
RUN bash -e <<EOF
|
2023-01-10 15:03:40 +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-06-27 15:55:12 +02:00
|
|
|
yum -y install git gettext rpm-build dos2unix python3 epel-release nfpm
|
|
|
|
yum -y install perl-App-FatPacker perl-File-Copy-Recursive perl-JSON jq zstd
|
2023-01-10 15:03:40 +01:00
|
|
|
yum clean all
|
|
|
|
|
|
|
|
EOF
|
|
|
|
|
|
|
|
WORKDIR /src
|