diff options
author | Cédric Ollivier <cedric.ollivier@orange.com> | 2018-06-17 12:29:12 +0200 |
---|---|---|
committer | Cédric Ollivier <cedric.ollivier@orange.com> | 2018-06-17 13:38:41 +0200 |
commit | 2845d29b185043da58c434c218e5b409b5d23ac4 (patch) | |
tree | ec6c84b08b7786527035c83cd069fd238a4b1038 /build.sh | |
parent | c2547994a6b7dc0839f595f72a4f874a006a4638 (diff) |
Allow overriding the default OPENSTACK_TAG
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 <cedric.ollivier@orange.com>
Diffstat (limited to 'build.sh')
-rw-r--r-- | build.sh | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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" {} + |