summaryrefslogtreecommitdiffstats
path: root/tests/Dockerfile.centos
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Dockerfile.centos')
-rw-r--r--tests/Dockerfile.centos12
1 files changed, 0 insertions, 12 deletions
diff --git a/tests/Dockerfile.centos b/tests/Dockerfile.centos
deleted file mode 100644
index 06013ee..0000000
--- a/tests/Dockerfile.centos
+++ /dev/null
@@ -1,12 +0,0 @@
-FROM centos:centos7
-RUN yum install -y rpm-build yum-utils
-WORKDIR /src
-COPY mod_authnz_pam.spec .
-RUN yum-builddep -y mod_authnz_pam.spec
-COPY * source/
-RUN rpm -q --qf '%{name}-%{version}\n' --specfile mod_authnz_pam.spec | head -1 > name_version
-RUN mv -v source $( cat name_version )
-RUN mkdir -p ~/rpmbuild/SOURCES
-RUN tar cvzf ~/rpmbuild/SOURCES/$( cat name_version ).tar.gz $( cat name_version )
-RUN rpmbuild -bb --define "dist $( rpm --eval '%{dist}' ).localbuild" mod_authnz_pam.spec
-RUN yum install -y ~/rpmbuild/RPMS/*/$( cat name_version )-*.localbuild.*.rpm