From: Delia Popescu Date: Tue, 25 Jul 2017 07:25:32 +0000 (+0300) Subject: Fix dockerfile patch for aarch64 X-Git-Tag: opnfv-5.0.RC1~228 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=56a4031ea97d434951d10af66e06d38100ea52de;p=functest.git Fix dockerfile patch for aarch64 Patched the patch https://gerrit.opnfv.org/gerrit/#/c/37869/ Fixed some issues regarding spaces in the patch file Change-Id: Ieac4b766e36d274bd044cd4110626b5314ea6556 Signed-off-by: Delia Popescu --- diff --git a/docker/Dockerfile.aarch64.patch b/docker/Dockerfile.aarch64.patch index ca466ca40..1b553b1c5 100644 --- a/docker/Dockerfile.aarch64.patch +++ b/docker/Dockerfile.aarch64.patch @@ -25,12 +25,15 @@ index 924da68..dd87e6c 100644 # are made available under the terms of the Apache License, Version 2.0 @@ -7,9 +7,9 @@ # http://www.apache.org/licenses/LICENSE-2.0 + # + -FROM ubuntu:14.04 -MAINTAINER Jose Lausuch -LABEL version="0.1" description="OPNFV Functest Docker container" +FROM aarch64/ubuntu:14.04 +MAINTAINER Armband team +LABEL version="0.1" description="OPNFV Functest Aarch64 Docker container" + # Environment variables ARG BRANCH=master @@ -43,6 +43,7 @@ gcc \ @@ -49,10 +52,10 @@ index 924da68..dd87e6c 100644 && cd ${REPOS_VNFS_DIR}/vims-test \ + && bundle config build.nokogiri --use-system-libraries \ && bundle install" + -RUN sh -c 'curl -sL https://deb.nodesource.com/setup_4.x | sudo -E bash -' \ - && sudo apt-get install -y nodejs \ +RUN sh -c 'wget -qO- https://nodejs.org/dist/v4.7.2/node-v4.7.2-linux-arm64.tar.gz | \ + tar -xz -C /usr/local --exclude=CHANGELOG.md --exclude=LICENSE --exclude=README.md --strip-components 1 '\ && cd ${REPOS_DIR}/promise && sudo npm -g install npm@latest \ && cd ${REPOS_DIR}/promise/source && npm install -