forked from PowerDNS/pdns
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request PowerDNS#11274 from Habbie/backport-11262-to-auth-…
…4.4.x auth-4.4.x: builder: migrate EL8 builds to oraclelinux, rename centos8 to el8 where possible
- Loading branch information
Showing
7 changed files
with
32 additions
and
0 deletions.
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
Dockerfile.target.centos-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 @@ | ||
Dockerfile.target.oraclelinux-8 |
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 @@ | ||
Dockerfile.target.oraclelinux-8-amd64 |
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 @@ | ||
Dockerfile.target.oraclelinux-8-arm64 |
26 changes: 26 additions & 0 deletions
26
builder-support/dockerfiles/Dockerfile.target.oraclelinux-8
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,26 @@ | ||
# 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 | ||
@IF [ ${BUILDER_TARGET} = oraclelinux-8 -o ${BUILDER_TARGET} = el-8 ] | ||
FROM oraclelinux:8 as dist-base | ||
@ENDIF | ||
@IF [ ${BUILDER_TARGET} = oraclelinux-8-amd64 -o ${BUILDER_TARGET} = el-8-amd64 ] | ||
FROM amd64/oraclelinux:8 as dist-base | ||
@ENDIF | ||
@IF [ ${BUILDER_TARGET} = oraclelinux-8-arm64 -o ${BUILDER_TARGET} = el-8-arm64 ] | ||
FROM arm64v8/oraclelinux:8 as dist-base | ||
@ENDIF | ||
|
||
ARG BUILDER_CACHE_BUSTER= | ||
RUN touch /var/lib/rpm/* && dnf install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm && \ | ||
dnf install -y 'dnf-command(config-manager)' yum && \ | ||
dnf config-manager --set-enabled ol8_codeready_builder | ||
|
||
# Do the actual rpm build | ||
@INCLUDE Dockerfile.rpmbuild | ||
|
||
# Do a test install and verify | ||
# Can be skipped with skiptests=1 in the environment | ||
# @EXEC [ "$skiptests" = "" ] && include Dockerfile.rpmtest |
1 change: 1 addition & 0 deletions
1
builder-support/dockerfiles/Dockerfile.target.oraclelinux-8-amd64
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 @@ | ||
Dockerfile.target.oraclelinux-8 |
1 change: 1 addition & 0 deletions
1
builder-support/dockerfiles/Dockerfile.target.oraclelinux-8-arm64
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 @@ | ||
Dockerfile.target.oraclelinux-8 |