]> git.ipfire.org Git - thirdparty/pdns.git/blob - builder-support/dockerfiles/Dockerfile.target.amazon-2
Merge pull request #7098 from Habbie/builder-amazon2
[thirdparty/pdns.git] / builder-support / dockerfiles / Dockerfile.target.amazon-2
1 # First do the source builds
2 @INCLUDE Dockerfile.target.sdist
3
4 # This defines the dstribution base layer
5 # Put only the bare minimum of common commands here, without dev tools
6 FROM amazonlinux:2 as dist-base
7 RUN yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
8
9 # Do the actual rpm build
10 @INCLUDE Dockerfile.rpmbuild
11
12 # Do a test install and verify
13 # Can be skipped with skiptests=1 in the environment
14 # @EXEC [ "$skiptests" = "" ] && include Dockerfile.rpmtest