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

osmith gerrit-no-reply at lists.osmocom.org
Tue Apr 2 10:15:41 UTC 2019


osmith has uploaded this change for review. ( 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(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-ci refs/changes/86/13486/1

diff --git a/docker/rebuild_osmocom_jenkins_image.sh b/docker/rebuild_osmocom_jenkins_image.sh
index a2fae2e..2554529 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: newchange
Gerrit-Change-Id: Id840094aec51bf51d920aaa017a2f99fcb866f55
Gerrit-Change-Number: 13486
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith at sysmocom.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190402/ad83d2f8/attachment.html>


More information about the gerrit-log mailing list