aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/android
diff options
context:
space:
mode:
authorGravatar Jan Mulder <jlmulder@xs4all.nl>2018-12-29 08:56:08 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-12-30 11:20:34 -0800
commit1e1457318c74dcb3b5b7dfc84cc2002c04214879 (patch)
tree084ba16bfee1e85ae4eee2ce701a89bc14ec2ae8 /scripts/android
parent20c40ea6b4a711c4db423bab8ab44b90177cd1c1 (diff)
downloadsubsurface-1e1457318c74dcb3b5b7dfc84cc2002c04214879.tar.gz
Android Docker: give the android builder its own name
Users that use docker locally for Windows style build and Android style builds will (probably) not like that we use the same name for both docker containers. So, give the android builder its own name. Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
Diffstat (limited to 'scripts/android')
-rw-r--r--scripts/android/before_install.sh2
-rw-r--r--scripts/android/travisbuild.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/scripts/android/before_install.sh b/scripts/android/before_install.sh
index 253708320..cce934cea 100644
--- a/scripts/android/before_install.sh
+++ b/scripts/android/before_install.sh
@@ -17,7 +17,7 @@ PARENT="$( cd .. && pwd )"
docker run -v $PWD:/android/subsurface \
-v $PARENT/subsurface-mobile-build-arm:/android/subsurface-mobile-build-arm \
-v $PARENT/subsurface-mobile-build-arm64:/android/subsurface-mobile-build-arm64 \
- --name=builder \
+ --name=android-builder \
-w /android \
-d dirkhh/android-builder:5.12.02 \
/bin/sleep 60m
diff --git a/scripts/android/travisbuild.sh b/scripts/android/travisbuild.sh
index c76fb976b..a165922bd 100644
--- a/scripts/android/travisbuild.sh
+++ b/scripts/android/travisbuild.sh
@@ -6,6 +6,6 @@ set -e
# by running the build wrapper again we should be able to test newer
# versions of the dependencies even without updating the docker image
# (but of course having the right things in place will save a ton of time)
-docker exec -e TRAVIS="$TRAVIS" -t builder subsurface/packaging/android/android-build-wrapper.sh
+docker exec -e TRAVIS="$TRAVIS" -t android-builder subsurface/packaging/android/android-build-wrapper.sh
ls -l ../subsurface-mobile-build-arm*/build/outputs/apk/