forked from PowerDNS/pdns
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(cherry picked from commit 73a1b98)
- Loading branch information
Showing
2 changed files
with
19 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
Dockerfile.target.centos-7 | ||
Dockerfile.target.oraclelinux-7 |
18 changes: 18 additions & 0 deletions
18
builder-support/dockerfiles/Dockerfile.target.oraclelinux-7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# First do the source builds | ||
@INCLUDE Dockerfile.target.sdist | ||
|
||
# This defines the distribution base layer | ||
# Put only the bare minimum of common commands here, without dev tools | ||
FROM oraclelinux:7 as dist-base | ||
|
||
ARG BUILDER_CACHE_BUSTER= | ||
RUN touch /var/lib/rpm/* && yum install -y oracle-epel-release-el7 oracle-softwarecollection-release-el7 && \ | ||
yum-config-manager --add-repo=http://yum.oracle.com/repo/OracleLinux/OL7/optional/developer/$(uname -m)/ && \ | ||
yum install -y --nogpgcheck devtoolset-11-gcc-c++ scl-utils | ||
|
||
# Do the actual rpm build | ||
@INCLUDE Dockerfile.rpmbuild | ||
|
||
# Do a test install and verify | ||
# Can be skipped with skippackagetest=1 in the environment | ||
@EXEC [ "$skippackagetest" = "" ] && include Dockerfile.rpmtest |