Change in osmo-ci[master]: docker/rebuild_osmocom_jenkins_image.sh: pull images

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/.

osmith gerrit-no-reply at lists.osmocom.org
Wed Apr 3 07:04:48 UTC 2019


osmith has submitted this change and it was merged. ( https://gerrit.osmocom.org/13486 )

Change subject: docker/rebuild_osmocom_jenkins_image.sh: pull images
......................................................................

docker/rebuild_osmocom_jenkins_image.sh: pull images

Prevent building docker images on top of outdated Debian images, where
the package download feeds have been disabled.

Related: Change-Id I1076bbb7d77bdc99f5d60d641c09ce965fb9dfc6
         (docker-playground.git)
Related: OS#3869
Change-Id: Id840094aec51bf51d920aaa017a2f99fcb866f55
---
M docker/rebuild_osmocom_jenkins_image.sh
1 file changed, 3 insertions(+), 0 deletions(-)

Approvals:
  osmith: Verified
  Harald Welte: Looks good to me, approved



diff --git a/docker/rebuild_osmocom_jenkins_image.sh b/docker/rebuild_osmocom_jenkins_image.sh
index 3dcca39..6cf2f15 100755
--- a/docker/rebuild_osmocom_jenkins_image.sh
+++ b/docker/rebuild_osmocom_jenkins_image.sh
@@ -15,6 +15,9 @@
 	local tag_name=${1}
 	local debian_version=${2}
 
+	echo "Pulling ${debian_version} image"
+	docker pull "debian:${debian_version}"
+
 	echo "Building for ${debian_version} and setting tag ${tag_name}"
 	build_once "-t" "${tag_name}" "--build-arg" DEBIAN_VERSION="${debian_version}"
 }

-- 
To view, visit https://gerrit.osmocom.org/13486
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ci
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: Id840094aec51bf51d920aaa017a2f99fcb866f55
Gerrit-Change-Number: 13486
Gerrit-PatchSet: 2
Gerrit-Owner: osmith <osmith at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Holger Freyther <holger at freyther.de>
Gerrit-Reviewer: Pau Espin Pedrol <pespin at sysmocom.de>
Gerrit-Reviewer: osmith <osmith at sysmocom.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190403/b2017ebd/attachment.htm>


More information about the gerrit-log mailing list