Skip to content

Commit

Permalink
switch el7 builds to Oracle Linux 7
Browse files Browse the repository at this point in the history
(cherry picked from commit 73a1b98)
  • Loading branch information
Habbie authored and omoerbeek committed Jul 4, 2024
1 parent 1e101c4 commit d83661f
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
2 changes: 1 addition & 1 deletion builder-support/dockerfiles/Dockerfile.target.el-7
18 changes: 18 additions & 0 deletions builder-support/dockerfiles/Dockerfile.target.oraclelinux-7
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

0 comments on commit d83661f

Please sign in to comment.