From 63ec3c39ef720d265fe5a6c9d3a7c5665c2624d2 Mon Sep 17 00:00:00 2001 From: Delia Popescu Date: Tue, 9 Jan 2018 11:54:52 +0200 Subject: 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 --- build.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'build.sh') 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" {} + -- cgit 1.2.3-korg