Optimize Dockerfile #4

Merged
Marown merged 4 commits from feature/drone-cache into main 2023-04-15 13:25:34 +02:00
2 changed files with 6 additions and 4 deletions
Showing only changes of commit 1a4e7c9a39 - Show all commits

View File

@ -12,7 +12,8 @@ steps:
archive_format: "gzip"
# filesystem_cache_root: "/tmp/cache"
mount:
- 'vendor'
- '/opt/android-sdk-linux'
- '/var/cache/apt/archives/'
volumes:
- name: cache
path: /tmp/cache
@ -38,7 +39,8 @@ steps:
archive_format: "gzip"
# filesystem_cache_root: "/tmp/cache"
mount:
- 'vendor'
- '/opt/android-sdk-linux'
- '/var/cache/apt/archives/'
volumes:
- name: cache
path: /tmp/cache

View File

@ -8,7 +8,7 @@ export ANDROID_SDK=${ANDROID_HOME}
export PATH=${PATH}:${ANDROID_HOME}/cmdline-tools/latest/bin
export PATH=${PATH}:${ANDROID_HOME}/cmdline-tools/tools/bin
export PATH=${PATH}:${ANDROID_HOME}/tools/bin
export PATH=${PATH}:${ANDROID_HOME}/build-tools/33.0.0
export PATH=${PATH}:${ANDROID_HOME}/build-tools/33.0.2
export PATH=${PATH}:${ANDROID_HOME}/platform-tools
export PATH=${PATH}:${ANDROID_HOME}/emulator
export PATH=${PATH}:${ANDROID_HOME}/bin
@ -26,7 +26,7 @@ function help() {
figlet "usage:"
echo "update_sdk: Updates the SDK"
echo "andep: Installs one or more android Packets."
echo " -Example: anddep \"platforms;android-26\""
echo " -Example: anddep \"platforms;android-33\""
echo "help: Shows this help"
echo ''
echo ''