aboutsummaryrefslogtreecommitdiffstats
path: root/build.sh
diff options
context:
space:
mode:
authorDelia Popescu <delia.popescu@enea.com>2018-01-09 11:54:52 +0200
committerDelia Popescu <delia.popescu@enea.com>2018-01-11 11:33:08 +0200
commit63ec3c39ef720d265fe5a6c9d3a7c5665c2624d2 (patch)
tree05db709d8d89fbfab54cb4787ea387d9b7da70ff /build.sh
parentcc26b57d00b1d5dee299c9b47b25f8f472ac3eb8 (diff)
Build vnf and restapi containers for ARM
The root cause of the problem was the installation of unf_ext packet. The Gemfile.lock in https://github.com/boucherv-orange/clearwater-live-test asked for version 0.0.6 and this version was not found for arm. When it tried to build the package, the conversion from int to char error was thrown (issue reported here https://github.com/knu/ruby-unf_ext/issues/15). As now version 0.0.7.4 is selected, then the vnf docker images are built without any other errors. Gemfile.lock was updated in the original repo, this fix enables vnf and restapi containers build for ARM. JIRA: FUNCTEST-899 Change-Id: Id2c5fe82cb3705f58a8175fcf0a17f443e9b7d9d Signed-off-by: Delia Popescu <delia.popescu@enea.com>
Diffstat (limited to 'build.sh')
-rw-r--r--build.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/build.sh b/build.sh
index 99a9b466f..48690ab52 100644
--- a/build.sh
+++ b/build.sh
@@ -12,8 +12,7 @@ docker/components \
docker/vnf \
docker/parser \
docker/restapi"}
-arm64_dirs=${arm64_dirs-$(echo "${amd64_dirs}" | sed -e "s|docker/vnf||" \
- -e "s|docker/restapi||")}
+arm64_dirs=${arm64_dirs-${amd64_dirs}}
build_opts=(--pull=true --no-cache --force-rm=true)
find . -name Dockerfile -exec sed -i -e "s|opnfv/functest-core|${repo}/functest-core:amd64-latest|g" {} +