aboutsummaryrefslogtreecommitdiffstats
path: root/centos7-rpmbuild.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'centos7-rpmbuild.yaml')
-rw-r--r--centos7-rpmbuild.yaml8
1 files changed, 6 insertions, 2 deletions
diff --git a/centos7-rpmbuild.yaml b/centos7-rpmbuild.yaml
index 89851db..90a3491 100644
--- a/centos7-rpmbuild.yaml
+++ b/centos7-rpmbuild.yaml
@@ -5,6 +5,10 @@ spec:
- name: centos7-rpmbuild
image: registry.gitlab.com/kraxel/rpm-package-builder:centos7
imagePullPolicy: Always
- command:
- - cat
+ env:
+ - name: "CENTOS_MIRROR"
+ value: "http://spunk.home.kraxel.org/centos/"
+ - name: "EPEL_MIRROR"
+ value: "http://spunk.home.kraxel.org/epel/"
tty: true
+ command: [ "/bin/sh", "-c", "/usr/local/bin/configure-mirror && cat" ]