summaryrefslogtreecommitdiffstats
path: root/scripts/docker
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2018-12-22 09:22:25 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-12-30 11:20:34 -0800
commitb0e81ff978c62d44b62a72a6969ea1d9d0245e6d (patch)
tree509da2e8ab1b3d957b6066dc9ba7cda94c2f2512 /scripts/docker
parent54549b8a9bf9f67674527efd07268ac84a372b0e (diff)
downloadsubsurface-b0e81ff978c62d44b62a72a6969ea1d9d0245e6d.tar.gz
Android: create docker container
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'scripts/docker')
-rw-r--r--scripts/docker/android-build-container/setup-docker.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/scripts/docker/android-build-container/setup-docker.sh b/scripts/docker/android-build-container/setup-docker.sh
new file mode 100644
index 000000000..98c13ec48
--- /dev/null
+++ b/scripts/docker/android-build-container/setup-docker.sh
@@ -0,0 +1,11 @@
+#!/bin/bash
+
+# Use this to re-create a docker container for building Android binaries
+
+# copy the dependency script into this folder
+cp ../../../packaging/android/android-build-wrapper.sh .
+cp ../../../packaging/android/variables.sh .
+cp ../../../packaging/android/qt-installer-noninteractive.qs .
+
+# create the container (this takes a while)
+sudo docker build -t android-builder --squash .