Skip to content

Commit f0967a7

Browse files
committed
remove emulator form sdk to reduce image size
1 parent f2d5644 commit f0967a7

File tree

4 files changed

+2
-1
lines changed

4 files changed

+2
-1
lines changed

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ RUN yes | $ANDROID_HOME/cmdline-tools/tools/bin/sdkmanager --licenses
2929
RUN $ANDROID_HOME/cmdline-tools/tools/bin/sdkmanager --update
3030
RUN $ANDROID_HOME/cmdline-tools/tools/bin/sdkmanager "build-tools;${ANDROID_BUILD_TOOLS_VERSION}" \
3131
"platforms;android-${ANDROID_VERSION}" \
32-
"platform-tools"
32+
"platform-tools" && \
33+
$ANDROID_HOME/cmdline-tools/tools/bin/sdkmanager --uninstall emulator
3334

3435
# Install NDK
3536
RUN $ANDROID_HOME/cmdline-tools/tools/bin/sdkmanager "ndk-bundle"

build.sh

100644100755
File mode changed.

exec.sh

100644100755
File mode changed.

run.sh

100644100755
File mode changed.

0 commit comments

Comments
 (0)