Skip to content

Commit

Permalink
node-runner-android: split sdkmanager installs to avoid full disk on …
Browse files Browse the repository at this point in the history
…GHA ci
  • Loading branch information
legobeat committed Sep 14, 2024
1 parent 085dc29 commit 349eb29
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions imags/node-runner/Containerfile.android
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,19 @@ RUN sdkmanager --install \
"build-tools;30.0.3" \
"build-tools;33.0.0" \
"build-tools;${ANDROID_BUILD_TOOLS_VERSION}" \
"cmake;${CMAKE_VERSION}" \
#"platform-tools" \
## metamask-mobile legacy dep \
"cmake;${CMAKE_VERSION}"
##"platform-tools" \
### metamask-mobile legacy dep \
#"platforms;android-33" \
#"platforms;android-${ANDROID_SDK_VERSION}" \
##"sources;android-${ANDROID_SDK_VERSION}" \
#"ndk;${ANDROID_NDK_VERSION}"

RUN sdkmanager --install \
"platforms;android-33" \
"platforms;android-${ANDROID_SDK_VERSION}" \
#"sources;android-${ANDROID_SDK_VERSION}" \
"platforms;android-${ANDROID_SDK_VERSION}"

RUN sdkmanager --install \
"ndk;${ANDROID_NDK_VERSION}"

ENV ANDROID_AVD_HOME=/home/user/.config/.android/avd
Expand Down

0 comments on commit 349eb29

Please sign in to comment.