[AArch64] Dockerfile: Fix malformed patch
[yardstick.git] / docker / Dockerfile.aarch64.patch
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
4
5 Signed-off-by: Cristina Pauna <cristina.pauna@enea.com>
6 Signed-off-by: Alexandru Nemes <alexandru.nemes@enea.com>
7 ---
8  docker/Dockerfile | 13 +++++++------
9  1 file changed, 7 insertions(+), 6 deletions(-)
10
11 diff --git a/docker/Dockerfile b/docker/Dockerfile
12 index 2ee5b4c..23e5ea5 100644
13 --- a/docker/Dockerfile
14 +++ b/docker/Dockerfile
15 @@ -1,5 +1,5 @@
16  ##############################################################################
17 -# Copyright (c) 2015 Ericsson AB and others.
18 +# Copyright (c) 2017 Enea AB and others.
19  #
20  # All rights reserved. This program and the accompanying materials
21  # are made available under the terms of the Apache License, Version 2.0
22 @@ -7,9 +7,9 @@
23  # http://www.apache.org/licenses/LICENSE-2.0
24  ##############################################################################
25
26 -FROM ubuntu:16.04
27 +FROM arm64v8/ubuntu:16.04
28
29 -LABEL image=opnfv/yardstick
30 +LABEL image=opnfv/yardstick_aarch64
31
32  ARG BRANCH=master
33
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"
37
38 -RUN apt-get update && apt-get install -y git python-setuptools python-pip && apt-get -y autoremove && apt-get clean
39 +RUN apt-get update && apt-get install -y git python-setuptools python-pip && 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
43
44 @@ -43,8 +44,8 @@ RUN echo "daemon off;" >> /etc/nginx/nginx.conf
45  # nginx=5000, rabbitmq=5672
46  EXPOSE 5000 5672
47
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}
52
53  COPY ./exec_tests.sh /usr/local/bin/
54