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
  • Loading branch information
isarkis authored Nov 6, 2023
1 parent 2277260 commit d69b5a8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker/linux/android/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@
ARG FROM_IMAGE
FROM ${FROM_IMAGE:-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 \
binutils-arm-linux-gnueabi \
Expand Down Expand Up @@ -54,7 +55,6 @@ RUN cd /tmp \
"extras;android;m2repository" \
"extras;google;m2repository" \
"ndk;25.2.9519653" \
"patcher;v4" \
"platforms;android-30" \
"platforms;android-31" \
"platform-tools" \
Expand Down

0 comments on commit d69b5a8

Please sign in to comment.