summaryrefslogtreecommitdiffstats
path: root/docker
diff options
context:
space:
mode:
authorxudan <xudan16@huawei.com>2017-12-20 22:36:30 -0500
committerxudan <xudan16@huawei.com>2017-12-20 22:41:39 -0500
commiteefdd18e83e6aa15f8abf9671822f3a623c17171 (patch)
treefa14dd0cf616f09c270ca67854cf0c3a8aaaa5dc /docker
parent153647f7858dc80cf16b0164d748d6bb33f3894c (diff)
Fix aarch64 patch for Dovetail container
Change-Id: I3746136e9002a14eea81c38ea54cbbad7fa68da1 Signed-off-by: xudan <xudan16@huawei.com>
Diffstat (limited to 'docker')
-rw-r--r--docker/Dockerfile.aarch64.patch21
1 files changed, 12 insertions, 9 deletions
diff --git a/docker/Dockerfile.aarch64.patch b/docker/Dockerfile.aarch64.patch
index 424609f0..79ba5ff9 100644
--- a/docker/Dockerfile.aarch64.patch
+++ b/docker/Dockerfile.aarch64.patch
@@ -1,14 +1,14 @@
-From: Alexandru Nemes <alexandru.nemes@enea.com>
-Date: Thu, 10 Aug 2017 18:45:31 +0300
+From: xudan <xudan16@huawei.com>
+Date: Wed, 20 Dec 2017 22:23:13 -0500
Subject: [PATCH] Add AArch64 support for Dovetail docker file
-Signed-off-by: Alexandru Nemes <alexandru.nemes@enea.com>
+Signed-off-by: xudan <xudan16@huawei.com>
---
- docker/Dockerfile | 29 +++++++++++++++++------------
- 1 file changed, 17 insertions(+), 12 deletions(-)
+ docker/Dockerfile | 30 +++++++++++++++++-------------
+ 1 file changed, 17 insertions(+), 13 deletions(-)
diff --git a/docker/Dockerfile b/docker/Dockerfile
-index c4b1121..1ad54cc 100644
+index c5239db..25e2105 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -1,8 +1,16 @@
@@ -31,7 +31,7 @@ index c4b1121..1ad54cc 100644
RUN \
apt-get update \
-@@ -17,19 +25,12 @@ RUN \
+@@ -17,22 +25,14 @@ RUN \
python-dev \
python-mock \
python-pip \
@@ -43,6 +43,8 @@ index c4b1121..1ad54cc 100644
- apt-get update
+ apt-get update && apt-get -y install docker-ce --allow-unauthenticated
+ RUN easy_install -U setuptools==30.0.0
+
-RUN wget -qO- https://get.docker.com/ \
-| \
- sed 's/-q docker-ce/-q docker-ce=17.03.0~ce-0~ubuntu-trusty/' \
@@ -50,10 +52,11 @@ index c4b1121..1ad54cc 100644
- sed 's/edge/stable/' \
-| \
- sh
-
+-
ENV HOME /home/opnfv
ENV REPOS_DIR ${HOME}/dovetail
-@@ -38,6 +39,10 @@ WORKDIR /home/opnfv
+ WORKDIR /home/opnfv
+@@ -40,6 +40,10 @@ WORKDIR /home/opnfv
RUN \
mkdir -p ${REPOS_DIR} \
&& \