laforge has submitted this change. ( https://gerrit.osmocom.org/c/docker-playground/+/21588 )
Change subject: centos8-build: Use arg OSMOCOM_REPO_MIRROR ...................................................................... centos8-build: Use arg OSMOCOM_REPO_MIRROR Change-Id: If2aefff04792fe4d215fcc52377bec64d9a1db2d --- M centos8-build/Dockerfile 1 file changed, 2 insertions(+), 1 deletion(-) Approvals: laforge: Looks good to me, approved; Verified diff --git a/centos8-build/Dockerfile b/centos8-build/Dockerfile index 9a21bbc..f4aab6c 100644 --- a/centos8-build/Dockerfile +++ b/centos8-build/Dockerfile @@ -1,6 +1,7 @@ ARG REGISTRY=docker.io ARG UPSTREAM_DISTRO=centos:centos8 FROM ${REGISTRY}/${UPSTREAM_DISTRO} +ARG OSMOCOM_REPO_MIRROR="http://download.opensuse.org" # Let package metadata expire after 60 seconds instead of 48 hours RUN echo "metadata_expire=60" >> /etc/dnf/dnf.conf && cat /etc/dnf/dnf.conf @@ -9,7 +10,7 @@ RUN dnf install -y dnf-utils wget && \ yum config-manager --set-enabled powertools && \ cd /etc/yum.repos.d/ && \ - wget https://download.opensuse.org/repositories/network:osmocom:nightly/CentOS_8_Stream/network:osmocom:nightly.repo + wget $OSMOCOM_REPO_MIRROR/repositories/network:osmocom:nightly/CentOS_8_Stream/network:osmocom:nightly.repo RUN dnf install -y \ autoconf \ -- To view, visit https://gerrit.osmocom.org/c/docker-playground/+/21588 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: docker-playground Gerrit-Branch: master Gerrit-Change-Id: If2aefff04792fe4d215fcc52377bec64d9a1db2d Gerrit-Change-Number: 21588 Gerrit-PatchSet: 2 Gerrit-Owner: pespin <pes...@sysmocom.de> Gerrit-Reviewer: laforge <lafo...@osmocom.org> Gerrit-Reviewer: pespin <pes...@sysmocom.de> Gerrit-MessageType: merged