mirror of
https://github.com/Tencent/Hippy.git
synced 2026-10-22 08:46:09 +08:00
12 lines
534 B
Docker
12 lines
534 B
Docker
FROM centos
|
|
|
|
RUN \
|
|
yum -y install git unzip python3 python2 pkg-config bzip2 glibc-devel.i686 libstdc++-devel.i686 ncurses-compat-libs && \
|
|
yum clean all && \
|
|
ln -fs /usr/bin/python2.7 /usr/bin/python && \
|
|
git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git && \
|
|
curl -O https://dl.google.com/android/repository/android-ndk-r21e-linux-x86_64.zip && \
|
|
unzip android-ndk-r21e-linux-x86_64.zip && \
|
|
rm android-ndk-r21e-linux-x86_64.zip
|
|
|
|
ENV ANDROID_NDK_HOME=/android-ndk-r21e PATH="/depot_tools:${PATH}" |