From 2845d29b185043da58c434c218e5b409b5d23ac4 Mon Sep 17 00:00:00 2001 From: Cédric Ollivier Date: Sun, 17 Jun 2018 12:29:12 +0200 Subject: Allow overriding the default OPENSTACK_TAG MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It allows building containers vs other upper-constraints and then reusing our Dockerfiles for an older or newer OpenStack versions. Change-Id: I160e6f7175a11684846cad86c3d47269c88a08ea Signed-off-by: Cédric Ollivier --- build.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build.sh b/build.sh index 4337e0a10..641a67243 100644 --- a/build.sh +++ b/build.sh @@ -12,7 +12,8 @@ docker/features \ docker/components \ docker/vnf"} arm64_dirs=${arm64_dirs-${amd64_dirs}} -build_opts=(--pull=true --no-cache --force-rm=true) +build_opts=(--pull=true --no-cache --force-rm=true \ + --build-arg OPENSTACK_TAG="${OPENSTACK_TAG:-stable/queens}") find . -name Dockerfile -exec sed -i \ -e "s|opnfv/functest-core|${repo}/functest-core:amd64-latest|g" {} + -- cgit 1.2.3-korg