mirror of
https://github.com/subsurface/subsurface.git
synced 2024-12-05 00:21:29 +00:00
b5efaf661c
Move around the scripts required for the setup of the build environment for android to satisfy docker's requirement of locality. This allows the removal of an extra copy step, and avoids the creation of extra artefacts, while still providing the same functionality. Signed-off-by: Michael Keller <github@ike.ch>
16 lines
596 B
Bash
Executable file
16 lines
596 B
Bash
Executable file
#!/bin/bash
|
|
|
|
# Use this to re-create a docker container for building Android binaries
|
|
|
|
# Google makes it intentionally very hard to download the command line tools
|
|
# the URL is constantly changing and the website requires you to click through
|
|
# a license.
|
|
#
|
|
# Today this URL works:
|
|
# https://dl.google.com/android/repository/commandlinetools-linux-6858069_latest.zip
|
|
#
|
|
# If this fails, go to https://developer.android.com/studio#cmdline-tools and
|
|
# click through for yourself, and then update the URL in the Dockerfile
|
|
|
|
# create the container (this takes a while)
|
|
docker build -t android-build .
|