Skip to content

Instantly share code, notes, and snippets.

@kajikentaro
Last active December 15, 2022 04:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kajikentaro/cec3d1c629185600b7e62a27b4a61127 to your computer and use it in GitHub Desktop.
Save kajikentaro/cec3d1c629185600b7e62a27b4a61127 to your computer and use it in GitHub Desktop.
Dockerfile of kajindowsxp/ubp-build-hammerhead sha256:306201ae3c4a9557b7a1c7287c72dbd135336f41404e3b417014d91848f61c82
FROM ubuntu:20.04
ENV DEBIAN_FRONTEND=noninteractive
RUN dpkg --add-architecture i386 && apt update
RUN apt install -y schedtool gcc g++ g++-multilib zlib1g-dev:i386 \
zip libxml2-utils bc git curl bsdmainutils python3 python3-distutils python-is-python2 cpio make
RUN curl https://bootstrap.pypa.io/get-pip.py | python3
RUN curl https://storage.googleapis.com/git-repo-downloads/repo > /usr/local/bin/repo
RUN chmod +x /usr/local/bin/repo
RUN mkdir -p /work/ubp-5.1
WORKDIR /work/ubp-5.1
RUN git config --global user.name "example" && git config --global user.email "example@example.com"
RUN repo init -u https://github.com/ubports/android -b ubp-5.1-allthefixings --depth=1
RUN repo sync -j10 -c
RUN pip install launchpadlib
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment