From a5dc1044e6f4b19f23de7440a8d9c01da852a552 Mon Sep 17 00:00:00 2001 From: Igor Sarkisov Date: Mon, 6 Nov 2023 13:19:40 -0800 Subject: [PATCH] Remove --no-install-recommends and patcher from Android Dockerfile (#1892) This prevents circular dependency with ca-certificates and default-jdk during docker container build. b/308476033 (cherry picked from commit d69b5a8d33984a7b489788c69735ab30adb74edd) --- docker/linux/android/Dockerfile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/docker/linux/android/Dockerfile b/docker/linux/android/Dockerfile index f370c42ae0da..fa243f24d268 100644 --- a/docker/linux/android/Dockerfile +++ b/docker/linux/android/Dockerfile @@ -14,8 +14,9 @@ FROM cobalt-build-base +# TODO: b/309157124 - add --no-install-recommends. RUN apt update -qqy \ - && apt install -qqy --no-install-recommends \ + && apt install -qqy \ libxml2-dev \ default-jdk \ g++-multilib \ @@ -51,8 +52,12 @@ RUN cd /tmp \ "cmdline-tools;1.0" \ "extras;android;m2repository" \ "extras;google;m2repository" \ +<<<<<<< HEAD "ndk;21.1.6352462" \ "patcher;v4" \ +======= + "ndk;25.2.9519653" \ +>>>>>>> d69b5a8d339 (Remove --no-install-recommends and patcher from Android Dockerfile (#1892)) "platforms;android-30" \ "platforms;android-31" \ "platform-tools" \