Created
October 26, 2022 11:57
-
-
Save engividal/cb0497eaef892cefc7709fab71beb3db to your computer and use it in GitHub Desktop.
Docker image to build Android AOSP
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# syntax=docker/dockerfile:1 | |
# | |
# Docker image to build Android AOSP | |
# | |
FROM ubuntu:18.04 | |
# Dependency required on Android docs | |
RUN apt-get update && apt-get install -y git-core \ | |
gnupg flex bison build-essential zip curl zlib1g-dev \ | |
gcc-multilib g++-multilib libc6-dev-i386 libncurses5 \ | |
lib32ncurses5-dev x11proto-core-dev libx11-dev \ | |
lib32z1-dev libgl1-mesa-dev libxml2-utils xsltproc \ | |
unzip fontconfig apt-utils curl python3 | |
# Install repo | |
ADD https://storage.googleapis.com/git-repo-downloads/repo /usr/local/bin/ | |
RUN chmod 755 /usr/local/bin/* | |
# Work in the build directory, repo is expected to be init'd here | |
WORKDIR /aosp |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment