weechat: Bump revision to rebuild against ruby 2.5
[termux-packages] / scripts / Dockerfile
index 320eb12..49bcb07 100644 (file)
@@ -4,7 +4,7 @@
 #      docker push termux/package-builder
 # This is done after changing this file or any of the
 # scripts/setup-{ubuntu,android-sdk}.sh setup scripts.
-FROM ubuntu:17.04
+FROM ubuntu:17.10
 
 # Fix locale to avoid warnings:
 ENV LANG C.UTF-8
@@ -27,8 +27,7 @@ RUN apt-get update && \
     rm -rf /var/lib/apt/lists/* && \
     cd /home/builder/lib/android-ndk/ && \
     rm -Rf toolchains/mips* && \
-    rm -Rf sources/cxx-stl/gabi++ sources/cxx-stl/llvm-libc++* sources/cxx-stl/system/ sources/cxx-stl/stlport && \
-    cd platforms && ls | grep -v android-21 | xargs rm -Rf && \
+    rm -Rf sources/cxx-stl/gabi++ sources/cxx-stl/system sources/cxx-stl/stlport sources/cxx-stl/gnu-libstdc++ && \
     cd /home/builder/lib/android-sdk/tools && rm -Rf emulator* lib* proguard templates
 
 # We expect this to be mounted with '-v $PWD:/home/builder/termux-packages':