Skip to content

Commit

Permalink
Remove --no-install-recommends and patcher from Android Dockerfile (#…
Browse files Browse the repository at this point in the history
…1892)

This prevents circular dependency with ca-certificates and default-jdk
during docker container build.

b/308476033

(cherry picked from commit d69b5a8)
  • Loading branch information
isarkis authored and anonymous1-me committed Nov 29, 2023
1 parent 007628d commit a5dc104
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion docker/linux/android/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down Expand Up @@ -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" \
Expand Down

0 comments on commit a5dc104

Please sign in to comment.