summaryrefslogtreecommitdiffstats
path: root/tests/ci/docker/yardstick-ci
diff options
context:
space:
mode:
authorliang gao <jean.gaoliang@huawei.com>2016-09-01 09:21:46 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2016-09-01 09:21:46 +0000
commitaed848064e0b4046ff05c2e438884e6ae7a029f1 (patch)
treef6be796901d7d98cf8b417a94079fb00a9565755 /tests/ci/docker/yardstick-ci
parentf5966b387360aeef3416a0b6eb825e6e36c7d9b8 (diff)
parent3790f7bb070078da4b101ad8d33a176c9096e3ba (diff)
Merge "ARM64: Add support for aarch64 architecture"
Diffstat (limited to 'tests/ci/docker/yardstick-ci')
-rw-r--r--tests/ci/docker/yardstick-ci/Dockerfile11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/ci/docker/yardstick-ci/Dockerfile b/tests/ci/docker/yardstick-ci/Dockerfile
index da755d11d..5387babff 100644
--- a/tests/ci/docker/yardstick-ci/Dockerfile
+++ b/tests/ci/docker/yardstick-ci/Dockerfile
@@ -17,8 +17,19 @@ ENV REPOS_DIR /home/opnfv/repos
# Yardstick repo
ENV YARDSTICK_REPO_DIR ${REPOS_DIR}/yardstick
ENV RELENG_REPO_DIR ${REPOS_DIR}/releng
+RUN sed -i -e 's/^deb /deb [arch=amd64] /g' /etc/apt/sources.list
+RUN sed -i -e 's/^deb-src /# deb-src /g' /etc/apt/sources.list
+RUN echo "\n\
+deb [arch=arm64] http://ports.ubuntu.com/ubuntu-ports/ trusty main universe multiverse restricted \n\
+deb [arch=arm64] http://ports.ubuntu.com/ubuntu-ports/ trusty-updates main universe multiverse restricted \n\
+deb [arch=arm64] http://ports.ubuntu.com/ubuntu-ports/ trusty-security main universe multiverse restricted \n\
+deb [arch=arm64] http://ports.ubuntu.com/ubuntu-ports/ trusty-proposed main universe multiverse restricted" >> /etc/apt/sources.list
+RUN echo "vm.mmap_min_addr = 0" > /etc/sysctl.d/mmap_min_addr.conf
+RUN dpkg --add-architecture arm64
RUN apt-get update && apt-get install -y \
+ qemu-user-static \
+ libc6:arm64 \
wget \
expect \
curl \