ef41cba0380ded052309375c3c8a1bc6d507ab79
[yardstick.git] / docker / Dockerfile.aarch64.patch
1 From: ting wu <ting.wu@enea.com>
2 Date: Tue, 8 May 2018 14:02:52 +0200
3 Subject: [PATCH][PATCH] Patch for Yardstick AARCH64 Docker file
4
5 Signed-off-by: ting wu <ting.wu@enea.com>
6 ---
7  docker/Dockerfile | 11 ++++++-----
8  1 file changed, 6 insertions(+), 5 deletions(-)
9
10 diff --git a/docker/Dockerfile b/docker/Dockerfile
11 index 62ea0d0..f2f41771 100644
12 --- a/docker/Dockerfile
13 +++ b/docker/Dockerfile
14 @@ -7,9 +7,9 @@
15  # http://www.apache.org/licenses/LICENSE-2.0
16  ##############################################################################
17
18 -FROM ubuntu:16.04
19 +FROM arm64v8/ubuntu:16.04
20
21 -LABEL image=opnfv/yardstick
22 +LABEL image=opnfv/yardstick_aarch64
23
24  ARG BRANCH=master
25
26 @@ -24,7 +24,8 @@ ENV YARDSTICK_REPO_DIR="${REPOS_DIR}/yardstick/" \
27      RELENG_REPO_DIR="${REPOS_DIR}/releng" \
28      STORPERF_REPO_DIR="${REPOS_DIR}/storperf"
29
30 -RUN apt-get update && apt-get install -y git python python-setuptools python-pip iputils-ping && apt-get -y autoremove && apt-get clean
31 +RUN apt-get update && apt-get install -y git python python-setuptools python-pip iputils-ping && apt-get -y autoremove && \
32 +    apt-get install -y libssl-dev && apt-get -y install libffi-dev && apt-get clean
33  RUN easy_install -U setuptools==30.0.0
34  RUN pip install appdirs==1.4.0 pyopenssl==17.5.0 python-openstackclient==3.12.0 python-heatclient==1.11.0 ansible==2.5.5
35
36 @@ -48,8 +49,8 @@ RUN echo "daemon off;" >> /etc/nginx/nginx.conf
37  # nginx=5000, rabbitmq=5672
38  EXPOSE 5000 5672
39
40 -ADD http://download.cirros-cloud.net/0.3.5/cirros-0.3.5-x86_64-disk.img ${IMAGE_DIR}
41 -ADD http://cloud-images.ubuntu.com/xenial/current/xenial-server-cloudimg-amd64-disk1.img ${IMAGE_DIR}
42 +ADD http://download.cirros-cloud.net/daily/20161201/cirros-d161201-aarch64-disk.img ${IMAGE_DIR}
43 +ADD http://cloud-images.ubuntu.com/xenial/current/xenial-server-cloudimg-arm64-disk1.img ${IMAGE_DIR}
44
45  COPY ./exec_tests.sh /usr/local/bin/
46
47