1 # First do the source builds
2 @INCLUDE Dockerfile.target.sdist
4 # This defines the distribution base layer
5 # Put only the bare minimum of common commands here, without dev tools
6 FROM amazonlinux:2023 as dist-base
7 ARG BUILDER_CACHE_BUSTER=
9 # Do the actual rpm build
10 @INCLUDE Dockerfile.rpmbuild
12 # Do a test install and verify
13 # Can be skipped with skiptests=1 in the environment
14 # @EXEC [ "$skiptests" = "" ] && include Dockerfile.rpmtest