diff options
author | cyBerta <cyberta@riseup.net> | 2023-11-22 20:01:26 +0100 |
---|---|---|
committer | cyBerta <cyberta@riseup.net> | 2023-11-22 20:01:26 +0100 |
commit | 7ec477d400ed6768573becc0fb9dc43f799b1997 (patch) | |
tree | 6428e790a570fa522145a7463f82fc8c1271c793 /docker/android-fastlane/Dockerfile | |
parent | a9fb12c34a67092616d6b38a07bd1cfe7a493e24 (diff) |
update to android API 34, force all docker images to be rebuilt
Diffstat (limited to 'docker/android-fastlane/Dockerfile')
-rw-r--r-- | docker/android-fastlane/Dockerfile | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/docker/android-fastlane/Dockerfile b/docker/android-fastlane/Dockerfile index cc548a8f..5c7470aa 100644 --- a/docker/android-fastlane/Dockerfile +++ b/docker/android-fastlane/Dockerfile @@ -1,7 +1,7 @@ FROM registry.0xacab.org/leap/bitmask_android/android-sdk:latest MAINTAINER LEAP Encryption Access Project <info@leap.se> -LABEL Description="Android emulator image based on android-sdk" Vendor="LEAP" Version="3" +LABEL Description="Android emulator image based on android-sdk" Vendor="LEAP" Version="4" # Make sure debconf doesn't complain about lack of interactivity ENV DEBIAN_FRONTEND noninteractive @@ -37,6 +37,10 @@ RUN apt-get update -qq && \ apt-get autoclean && \ rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* +RUN echo $JAVA_HOME +RUN java --version + + # ------------------------------------------------------ # --- Install Android Emulator @@ -50,16 +54,11 @@ RUN echo y | sdkmanager "emulator" # Install System Images for emulators # seems like every version has its own quirks -RUN echo y | sdkmanager "system-images;android-33;google_apis;x86_64" -#RUN echo y | sdkmanager "system-images;android-27;google_apis;x86" -#RUN echo y | sdkmanager "system-images;android-25;google_apis;x86_64" -#RUN echo y | sdkmanager "system-images;android-23;google_apis;x86_64" +RUN echo y | sdkmanager "system-images;android-34;google_apis;x86_64" # fastlane wants 2 emulators. Starting happens in the scripts -RUN echo no | avdmanager create avd --force --name testApi33 --abi google_apis/x86_64 --package 'system-images;android-33;google_apis;x86_64' +RUN echo no | avdmanager create avd --force --name testApi34 --abi google_apis/x86_64 --package 'system-images;android-34;google_apis;x86_64' # TODO: fastlane has been troublesome for newer versions, need to dive deep to update -#RUN echo no | avdmanager create avd --force --name testApi27 --abi google_apis/x86_64 --package 'system-images;android-27;google_apis;x86_64' -#RUN echo no | avdmanager create avd --force --name testApi27-duet --abi google_apis/x86_64 --package 'system-images;android-27;google_apis;x86_64' # Install Android cmake RUN sdkmanager "cmake;3.10.2.4988404" |