From: Peter van Dijk Date: Wed, 10 Mar 2021 21:10:23 +0000 (+0100) Subject: amazonlinux-2: install EPEL the amazon way X-Git-Tag: rec-4.5.0-beta1~6^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=271bb3ecd2930bbd0a2fd1d08f7957baaaea32bc;p=thirdparty%2Fpdns.git amazonlinux-2: install EPEL the amazon way --- diff --git a/builder-support/dockerfiles/Dockerfile.target.amazon-2 b/builder-support/dockerfiles/Dockerfile.target.amazon-2 index bda6eb1fff..cac43d12fe 100644 --- a/builder-support/dockerfiles/Dockerfile.target.amazon-2 +++ b/builder-support/dockerfiles/Dockerfile.target.amazon-2 @@ -5,7 +5,7 @@ # Put only the bare minimum of common commands here, without dev tools FROM amazonlinux:2 as dist-base ARG BUILDER_CACHE_BUSTER= -RUN touch /var/lib/rpm/* && yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm +RUN touch /var/lib/rpm/* && amazon-linux-extras install epel -y # Do the actual rpm build @INCLUDE Dockerfile.rpmbuild