summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYibo Cai <yibo.cai@arm.com>2018-04-18 16:43:30 +0800
committerYibo Cai <yibo.cai@arm.com>2018-04-18 16:47:15 +0800
commit043671c7846c557256aa35b850ac0aea662ff566 (patch)
tree6cc853fe08c2ad5acb010b30a916c399edbb91d7
parent7a6fed1fe9795774236d6149cabaf559221401ce (diff)
compass-tasks-base: support arm64
Add Dockerfile-arm64 to keep a consistent building interface among all docker images. It's actually the same as original Dockerfile. Change-Id: Ibd5962384c82957dc8383b8af1f8e15f4af2a16f Signed-off-by: Yibo Cai <yibo.cai@arm.com>
-rw-r--r--compass-tasks-base/Dockerfile-arm6412
1 files changed, 12 insertions, 0 deletions
diff --git a/compass-tasks-base/Dockerfile-arm64 b/compass-tasks-base/Dockerfile-arm64
new file mode 100644
index 0000000..3beaf57
--- /dev/null
+++ b/compass-tasks-base/Dockerfile-arm64
@@ -0,0 +1,12 @@
+FROM centos:7
+
+ADD . /root/compass-tasks
+
+RUN /root/compass-tasks/build.sh
+
+EXPOSE 6379
+
+VOLUME ["/var/ansible", "/etc/compass/machine_list", "/etc/compass/switch_list"]
+
+ENTRYPOINT ["/bin/bash", "-c"]
+CMD ["/usr/local/bin/start.sh"]