1 From: Cristina Pauna <cristina.pauna@enea.com>
2 Date: Thu, 11 Jan 2018 19:06:26 +0200
3 Subject: [PATCH] Patch for Yardstick AARCH64 Docker file
5 Signed-off-by: Cristina Pauna <cristina.pauna@enea.com>
6 Signed-off-by: Alexandru Nemes <alexandru.nemes@enea.com>
8 docker/Dockerfile | 13 +++++++------
9 1 file changed, 7 insertions(+), 6 deletions(-)
11 diff --git a/docker/Dockerfile b/docker/Dockerfile
12 index 2ee5b4c..23e5ea5 100644
13 --- a/docker/Dockerfile
14 +++ b/docker/Dockerfile
16 ##############################################################################
17 -# Copyright (c) 2015 Ericsson AB and others.
18 +# Copyright (c) 2017 Enea AB and others.
20 # All rights reserved. This program and the accompanying materials
21 # are made available under the terms of the Apache License, Version 2.0
23 # http://www.apache.org/licenses/LICENSE-2.0
24 ##############################################################################
27 +FROM arm64v8/ubuntu:16.04
29 -LABEL image=opnfv/yardstick
30 +LABEL image=opnfv/yardstick_aarch64
34 @@ -24,7 +24,8 @@ ENV YARDSTICK_REPO_DIR="${REPOS_DIR}/yardstick" \
35 RELENG_REPO_DIR="${REPOS_DIR}/releng" \
36 STORPERF_REPO_DIR="${REPOS_DIR}/storperf"
38 -RUN apt-get update && apt-get install -y git python-setuptools python-pip iputils-ping && apt-get -y autoremove && apt-get clean
39 +RUN apt-get update && apt-get install -y git python-setuptools python-pip iputils-ping && apt-get -y autoremove && \
40 + apt-get install -y libssl-dev && apt-get -y install libffi-dev && apt-get clean
41 RUN easy_install -U setuptools==30.0.0
42 RUN pip install appdirs==1.4.0 pyopenssl==17.5.0 python-openstackclient==3.11.0 python-heatclient==1.11.0
44 @@ -43,8 +44,8 @@ RUN echo "daemon off;" >> /etc/nginx/nginx.conf
45 # nginx=5000, rabbitmq=5672
48 -ADD http://download.cirros-cloud.net/0.3.5/cirros-0.3.5-x86_64-disk.img ${IMAGE_DIR}
49 -ADD http://cloud-images.ubuntu.com/xenial/current/xenial-server-cloudimg-amd64-disk1.img ${IMAGE_DIR}
50 +ADD http://download.cirros-cloud.net/daily/20161201/cirros-d161201-aarch64-disk.img ${IMAGE_DIR}
51 +ADD http://cloud-images.ubuntu.com/xenial/current/xenial-server-cloudimg-arm64-disk1.img ${IMAGE_DIR}
53 COPY ./exec_tests.sh /usr/local/bin/