Skip to content

Commit

Permalink
Merge pull request #243 from nextcloud/androidUpdateWithSub
Browse files Browse the repository at this point in the history
update android & androidbase
  • Loading branch information
MorrisJobke authored Sep 9, 2020
2 parents f8b6566 + b284a4f commit a94a0d3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
4 changes: 0 additions & 4 deletions android/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,7 @@ RUN gem install xml-simple

RUN wget https://github.com/stedolan/jq/releases/download/jq-1.5/jq-linux32 -O /usr/bin/jq && chmod +x /usr/bin/jq

RUN sdkmanager --sdk_root=/opt/android-sdk-linux/ "platforms;android-27"
RUN sdkmanager --sdk_root=/opt/android-sdk-linux/ "platform-tools"

RUN sdkmanager --sdk_root=/opt/android-sdk-linux/ "system-images;android-27;google_apis;x86"
RUN (sleep 5; echo "no") | avdmanager create avd -n android-27 -c 100M -k "system-images;android-27;google_apis;x86" --abi "google_apis/x86"

EXPOSE 5037
WORKDIR /opt/workspace/
8 changes: 4 additions & 4 deletions android8/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM nextcloudci/android:androidBase-2

# Android 8 (API 26)
RUN sdkmanager --sdk_root=/opt/android-sdk-linux/ "platforms;android-26"
RUN sdkmanager --sdk_root=/opt/android-sdk-linux/ "system-images;android-26;google_apis;x86"
RUN (sleep 5; echo "no") | avdmanager create avd -n android -c 100M -k "system-images;android-26;google_apis;x86" --abi "google_apis/x86"
# Android 8.1 (API 27)
RUN sdkmanager --sdk_root=/opt/android-sdk-linux/ "platforms;android-27"
RUN sdkmanager --sdk_root=/opt/android-sdk-linux/ "system-images;android-27;google_apis;x86"
RUN (sleep 5; echo "no") | avdmanager create avd -n android -c 100M -k "system-images;android-27;google_apis;x86" --abi "google_apis/x86"

0 comments on commit a94a0d3

Please sign in to comment.