Change in docker-playground[master]: centos8-build: Use arg OSMOCOM_REPO_MIRROR

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

laforge gerrit-no-reply at lists.osmocom.org
Wed Dec 9 16:36:25 UTC 2020


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 <pespin at sysmocom.de>
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-Reviewer: pespin <pespin at sysmocom.de>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20201209/25d84925/attachment.htm>


More information about the gerrit-log mailing list