first commit
This commit is contained in:
19
docker/scripts/entrypoint.sh
Normal file
19
docker/scripts/entrypoint.sh
Normal file
@@ -0,0 +1,19 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
###############################################################################
|
||||
|
||||
# Enable exit on any error
|
||||
set -e
|
||||
|
||||
###############################################################################
|
||||
|
||||
# Setup Android SDK and NDK paths in project local.properties
|
||||
echo "sdk.dir=${ANDROID_SDK_ROOT}" > /workspace/local.properties
|
||||
echo "ndk.dir=${ANDROID_NDK_HOME}" >> /workspace/local.properties
|
||||
|
||||
# Execute any received command
|
||||
exec "$@"
|
||||
|
||||
exit 0
|
||||
|
||||
###############################################################################
|
||||
Reference in New Issue
Block a user