diff --git a/Dockerfile b/Dockerfile index fa3b856..a155801 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,11 +9,14 @@ RUN sed -i 's/main$/main universe/' /etc/apt/sources.list RUN apt-get -qq update RUN apt-get -qqy upgrade -RUN apt-get install -y bc bsdmainutils file screen -RUN apt-get install -y android-tools-adb android-tools-fastboot +# Install build dependencies (source: https://wiki.cyanogenmod.org/w/Build_for_angler) RUN apt-get install -y bison build-essential curl flex git gnupg gperf libesd0-dev liblz4-tool libncurses5-dev libsdl1.2-dev libwxgtk2.8-dev libxml2 libxml2-utils lzop maven openjdk-7-jdk openjdk-7-jre pngcrush schedtool squashfs-tools xsltproc zip zlib1g-dev RUN apt-get install -y g++-multilib gcc-multilib lib32ncurses5-dev lib32readline-gplv2-dev lib32z1-dev + +# Install additional packages which are useful for building Android RUN apt-get install -y ccache rsync tig +RUN apt-get install -y android-tools-adb android-tools-fastboot +RUN apt-get install -y bc bsdmainutils file screen RUN mkdir -p /home/cmbuild && useradd --no-create-home cmbuild && rsync -a /etc/skel/ /home/cmbuild/