AArch64 support for Dovetail docker 89/33689/4
authorAlexandru Nemes <alexandru.nemes@enea.com>
Mon, 24 Apr 2017 09:00:18 +0000 (12:00 +0300)
committerAlexandru Nemes <alexandru.nemes@enea.com>
Mon, 24 Apr 2017 10:50:19 +0000 (10:50 +0000)
Add aarch64 patch for Dovetail docker file;
The patch should be applied from releng

Move to Ubuntu 16.04 in order, since docker.io package was not
available for arm on Ubuntu 14.04.
Added "pip install -U setuptools", since installation of other
components failed because setuptools was missing.

Change-Id: If00346d89c48be86c6d9b830f75c1792c39d6bb3
Signed-off-by: Alexandru Nemes <alexandru.nemes@enea.com>
docker/Dockerfile.aarch64.patch [new file with mode: 0644]

diff --git a/docker/Dockerfile.aarch64.patch b/docker/Dockerfile.aarch64.patch
new file mode 100644 (file)
index 0000000..b96b619
--- /dev/null
@@ -0,0 +1,32 @@
+From: Alexandru Nemes <alexandru.nemes@enea.com>
+Date: Mon, 24 Apr 2017 11:53:42 +0300
+Subject: [PATCH] Add AArch64 support for Dovetail docker file
+
+Signed-off-by: Alexandru Nemes <alexandru.nemes@enea.com>
+---
+ docker/Dockerfile | 8 +++++---
+ 1 file changed, 5 insertions(+), 3 deletions(-)
+
+diff --git a/docker/Dockerfile b/docker/Dockerfile
+index 8cc15e0..bbab012 100644
+--- a/docker/Dockerfile
++++ b/docker/Dockerfile
+@@ -1,6 +1,6 @@
+-FROM ubuntu:14.04
+-MAINTAINER Leo Wang <grakiss.wanglei@huawei.com>
+-LABEL version="0.1" description="OPNFV Dovetail Docker Container"
++FROM aarch64/ubuntu:16.04
++MAINTAINER Armband team <armband@enea.com>
++LABEL version="0.1" description="OPNFV Dovetail AArch64 Docker Container"
+
+ RUN \
+     apt-get update \
+@@ -28,6 +28,8 @@ RUN \
+ && \
+     mkdir -p ${REPOS_DIR}/results \
+ && \
++    pip install -U setuptools \
++&& \
+     pip install -U pip \
+ && \
+     pip install -r ${REPOS_DIR}/requirements.txt \