Skip to content

Commit

Permalink
Merge 9cd9856 into 83e74ca
Browse files Browse the repository at this point in the history
  • Loading branch information
misl6 committed Nov 18, 2023
2 parents 83e74ca + 9cd9856 commit f0c00eb
Showing 1 changed file with 26 additions and 34 deletions.
60 changes: 26 additions & 34 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
# If platform is not specified, by default the target platform of the build request is used.
# This is not what we want, as Google doesn't provide a linux/arm64 compatible NDK.
# See: https://docs.docker.com/engine/reference/builder/#from
FROM --platform=linux/amd64 ubuntu:20.04
FROM --platform=linux/amd64 ubuntu:22.04

# configure locale
RUN apt -y update -qq > /dev/null \
Expand Down Expand Up @@ -48,43 +48,35 @@ ENV HOME_DIR="/home/${USER}"
ENV WORK_DIR="${HOME_DIR}/app" \
PATH="${HOME_DIR}/.local/bin:${PATH}" \
ANDROID_HOME="${HOME_DIR}/.android" \
JAVA_HOME="/usr/lib/jvm/java-13-openjdk-amd64"
JAVA_HOME="/usr/lib/jvm/java-17-openjdk-amd64"


# install system dependencies
RUN dpkg --add-architecture i386 \
&& ${RETRY} apt -y update -qq > /dev/null \
RUN ${RETRY} apt -y update -qq > /dev/null \
&& ${RETRY} DEBIAN_FRONTEND=noninteractive apt install -qq --yes --no-install-recommends \
autoconf \
automake \
autopoint \
build-essential \
ccache \
cmake \
gettext \
git \
lbzip2 \
libffi-dev \
libgtk2.0-0:i386 \
libidn11:i386 \
libltdl-dev \
libncurses5:i386 \
libssl-dev \
libstdc++6:i386 \
libtool \
openjdk-13-jdk \
patch \
pkg-config \
python3 \
python3-dev \
python3-pip \
python3-venv \
sudo \
unzip \
wget \
zip \
zlib1g-dev \
zlib1g:i386 \
ant \
autoconf \
automake \
ccache \
cmake \
gcc \
git \
lbzip2 \
libltdl-dev \
libtool \
libssl-dev \
openjdk-17-jdk \
patch \
unzip \
zip \
pkg-config \
python3 \
python3-dev \
python3-pip \
python3-venv \
make \
sudo \
wget \
&& apt -y autoremove \
&& apt -y clean \
&& rm -rf /var/lib/apt/lists/*
Expand Down

0 comments on commit f0c00eb

Please sign in to comment.