summaryrefslogtreecommitdiffstats
path: root/docker
diff options
context:
space:
mode:
authorCristina Pauna <cristina.pauna@enea.com>2017-03-09 15:14:17 +0200
committerCristina Pauna <cristina.pauna@enea.com>2017-03-13 14:51:20 +0200
commit2935006a650f92255c8046d236e691360148d9ff (patch)
treec32fcfd2bee18f0cfe5677fe7cc457a1dac49ab6 /docker
parenta5145885c7a43622f803534ed97890ef9acb852d (diff)
Add aarch64 patch
This commit adds a patch that can be applied to the Dockerfile to adapt it for aarch64. When applied from releng, a new Dockerfile.aarch64 is created and an aarch64 qtip image is created. The aarch64 qtip image will be build with the releng fix https://gerrit.opnfv.org/gerrit/30181 JIRA: ARMBAND-219 Change-Id: I551ae7fa1d7fc23c6e5f6381d605b0b22dbec695 Signed-off-by: Cristina Pauna <cristina.pauna@enea.com>
Diffstat (limited to 'docker')
-rw-r--r--docker/Dockerfile.aarch64.patch33
1 files changed, 33 insertions, 0 deletions
diff --git a/docker/Dockerfile.aarch64.patch b/docker/Dockerfile.aarch64.patch
new file mode 100644
index 00000000..80529476
--- /dev/null
+++ b/docker/Dockerfile.aarch64.patch
@@ -0,0 +1,33 @@
+From: Cristina Pauna <cristina.pauna@enea.com>
+Date: Mon, 13 Mar 2017 11:56:59 +0200
+Subject: [PATCH] Modify Dockerfile to build an aarch64 image
+
+This patch adapts the Dockerfile so that the qtip image
+can be build on an aarch64 machine
+
+Signed-off-by: Cristina Pauna <cristina.pauna@enea.com>
+---
+ docker/Dockerfile | 14 ++++++--------
+ 1 file changed, 6 insertions(+), 8 deletions(-)
+
+diff --git a/docker/Dockerfile b/docker/Dockerfile
+index a4a7e47..5d4467b 100644
+--- a/docker/Dockerfile
++++ b/docker/Dockerfile
+@@ -1,10 +1,10 @@
+-##########################################
+-#####Docker container for QTIP############
+-##########################################
++###################################################
++##### AArch64 Docker container for QTIP############
++###################################################
+
+-FROM ubuntu:16.04
+-MAINTAINER Yujun Zhang <zhang.yujunz@zte.com.cn>
+-LABEL version="0.1" description="OPNFV QTIP Docker container"
++FROM aarch64/ubuntu:16.04
++MAINTAINER Armband team <armband@enea.com>
++LABEL version="0.1" description="OPNFV QTIP AArch64 Docker container"
+
+ ARG BRANCH=master
+