From de09799887339c5af02d96e20bb417fa65dbc8d1 Mon Sep 17 00:00:00 2001 From: Taseer Ahmed Date: Fri, 4 Aug 2017 10:45:35 +0500 Subject: Support for Docker images on ARM processors. - Usage: docker build --build-arg ARCH= . Change-Id: I9018c627cef05e69492dbdefbe750d72cf98064d Signed-off-by: Taseer Ahmed --- ci/launch_docker_container.sh | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'ci') diff --git a/ci/launch_docker_container.sh b/ci/launch_docker_container.sh index aac5b58..47a1f17 100755 --- a/ci/launch_docker_container.sh +++ b/ci/launch_docker_container.sh @@ -22,6 +22,13 @@ then sudo chown 33:33 ${ci}/job/carbon fi +if [ -z $ARCH ] +then + ARCH=x86_64 +fi + +export ARCH + docker-compose -f local-docker-compose.yaml build docker-compose -f local-docker-compose.yaml up -d -- cgit 1.2.3-korg