diff options
author | Delia Popescu <delia.popescu@enea.com> | 2017-07-25 10:25:32 +0300 |
---|---|---|
committer | Delia Popescu <delia.popescu@enea.com> | 2017-07-25 10:49:51 +0000 |
commit | 56a4031ea97d434951d10af66e06d38100ea52de (patch) | |
tree | c1cbd31198028ff487f041bda9b93301b5afdff5 /docker | |
parent | 27ee75b4d83d3465621567424919182049a23db0 (diff) |
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 <delia.popescu@enea.com>
Diffstat (limited to 'docker')
-rw-r--r-- | docker/Dockerfile.aarch64.patch | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/docker/Dockerfile.aarch64.patch b/docker/Dockerfile.aarch64.patch index ca466ca4..1b553b1c 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 <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 - |