summaryrefslogtreecommitdiffstats
path: root/build.sh
diff options
context:
space:
mode:
authorDelia Popescu <delia.popescu@enea.com>2018-01-09 11:54:52 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2018-01-11 17:58:16 +0100
commite9bb037713e5921fe464abc43380bc995003c4c9 (patch)
treed9e4805e47e26b82c0bd5244d91b11cf47ec3d1b /build.sh
parent44cbd875b1f5b0b7950b4f6865b2ca01881532d0 (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> (cherry picked from commit 63ec3c39ef720d265fe5a6c9d3a7c5665c2624d2)
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 064f3a326..cfeb8f7f8 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:euphrates|${repo}/functest-core:amd64-euphrates|g" {} +