Fix dockerfile patch for aarch64 49/38049/2
authorDelia Popescu <delia.popescu@enea.com>
Tue, 25 Jul 2017 07:25:32 +0000 (10:25 +0300)
committerDelia Popescu <delia.popescu@enea.com>
Tue, 25 Jul 2017 10:49:51 +0000 (10:49 +0000)
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 <delia.popescu@enea.com>
docker/Dockerfile.aarch64.patch

index ca466ca..1b553b1 100644 (file)
@@ -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 <jose.lausuch@ericsson.com>
 -LABEL version="0.1" description="OPNFV Functest Docker container"
 +FROM aarch64/ubuntu:14.04
 +MAINTAINER Armband team <armband@enea.com>
 +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
-