Skip to content

Instantly share code, notes, and snippets.

@federicoiosue
Last active October 23, 2019 07:19
Show Gist options
  • Save federicoiosue/0733cdbc70bed50a2b1afabfa0188f8c to your computer and use it in GitHub Desktop.
Save federicoiosue/0733cdbc70bed50a2b1afabfa0188f8c to your computer and use it in GitHub Desktop.
Android project build into container
# Move into the Android project BEFORE running the following command
rm local.properties; docker rm android; docker run -v $PWD:/workspace --name android tabrindle/min-alpine-android-sdk:latest bash -c "yes | sdkmanager --update && yes | sdkmanager --licenses && cd workspace && ./gradlew build --stacktrace -Dorg.gradle.daemon=true -Pandroid.useDeprecatedNdk=true"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment