Skip to content

Commit

Permalink
Clean up Android Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
anhappdev committed Aug 8, 2023
1 parent 507f1b7 commit 35b473d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions flutter/android/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ FROM ubuntu:20.04
# JDK package downloads ~500 MB from slow mirrors, which can take a lot of time,
# so a separate layer for it makes image rebuild faster in case we change any other dependencies.
RUN apt-get update >/dev/null && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
openjdk-11-jdk-headless
openjdk-11-jdk-headless && \
rm -rf /var/lib/apt/lists/*
RUN apt-get update >/dev/null && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
build-essential \
apt-transport-https \
Expand All @@ -18,7 +19,8 @@ RUN apt-get update >/dev/null && DEBIAN_FRONTEND=noninteractive apt-get install
make \
protobuf-compiler \
python3 \
python3-pip
python3-pip && \
rm -rf /var/lib/apt/lists/*
RUN ln -s /usr/bin/python3 /usr/bin/python
RUN python3 -m pip install numpy absl-py

Expand Down

0 comments on commit 35b473d

Please sign in to comment.