summaryrefslogtreecommitdiffstats
path: root/ci/launch_docker_container.sh
diff options
context:
space:
mode:
authorTaseer Ahmed <taseer94@gmail.com>2017-08-04 10:45:35 +0500
committerMark Beierl <mark.beierl@dell.com>2017-08-17 15:09:47 +0000
commitde09799887339c5af02d96e20bb417fa65dbc8d1 (patch)
tree7a6bf31b96ec3f65f2d28ef440a8b7c1a8ce2366 /ci/launch_docker_container.sh
parent1d3a2a843e03b8e36d6ac2069fdb1e143b08c91c (diff)
Support for Docker images on ARM processors.
- Usage: docker build --build-arg ARCH=<arch_type> . Change-Id: I9018c627cef05e69492dbdefbe750d72cf98064d Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
Diffstat (limited to 'ci/launch_docker_container.sh')
-rwxr-xr-xci/launch_docker_container.sh7
1 files changed, 7 insertions, 0 deletions
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