2016-03-09 19:36:18 +01:00
|
|
|
FROM ubuntu:15.10
|
2015-10-10 18:05:23 +02:00
|
|
|
MAINTAINER Alex Cornejo <acornejo@gmail.com>
|
|
|
|
|
|
|
|
# to prevent dialog warnings
|
|
|
|
ENV DEBIAN_FRONTEND noninteractive
|
|
|
|
# to fix locale to avoid warnings
|
|
|
|
RUN locale-gen en_US.UTF-8
|
|
|
|
RUN dpkg-reconfigure locales
|
|
|
|
|
|
|
|
RUN apt-get update && apt-get install -y \
|
|
|
|
sudo \
|
2016-01-15 06:20:19 +01:00
|
|
|
git \
|
2015-10-10 18:05:23 +02:00
|
|
|
asciidoc \
|
|
|
|
automake \
|
|
|
|
bison \
|
|
|
|
flex \
|
|
|
|
cmake \
|
|
|
|
# Used for fetching sources
|
|
|
|
curl \
|
|
|
|
# Provides 'msgfmt' which the apt build uses
|
|
|
|
gettext \
|
|
|
|
help2man \
|
2015-10-17 19:24:27 +02:00
|
|
|
libacl1-dev \
|
2015-10-10 18:05:23 +02:00
|
|
|
# Needed by luajit host part
|
|
|
|
libc6-dev-i386 \
|
|
|
|
# Needed by apt build
|
|
|
|
libcurl4-openssl-dev \
|
|
|
|
# Provides 'gkd-pixbuf-query-loaders' which the librsvg build uses
|
|
|
|
libgdk-pixbuf2.0-dev \
|
|
|
|
# Provides 'glib-genmarshal' which the glib build uses
|
|
|
|
libglib2.0-dev \
|
|
|
|
libncurses5-dev \
|
2015-10-17 19:07:28 +02:00
|
|
|
libssl-dev \
|
2015-10-10 18:05:23 +02:00
|
|
|
libtool \
|
2015-10-17 22:54:25 +02:00
|
|
|
libtool-bin \
|
|
|
|
lua-lpeg \
|
2015-10-17 23:13:33 +02:00
|
|
|
luarocks \
|
2015-10-10 18:05:23 +02:00
|
|
|
lzip \
|
|
|
|
m4 \
|
|
|
|
pkg-config \
|
|
|
|
scons \
|
2015-10-17 21:52:02 +02:00
|
|
|
subversion \
|
2015-10-10 18:05:23 +02:00
|
|
|
texinfo \
|
|
|
|
xmlto \
|
|
|
|
# Provides u'makedepend' which the openssl build uses
|
|
|
|
xutils-dev \
|
|
|
|
# Needed for android-sdk
|
|
|
|
openjdk-7-jdk
|
|
|
|
|
|
|
|
|
|
|
|
RUN cd /tmp && \
|
|
|
|
curl -O http://dl.google.com/android/android-sdk_r24.3.4-linux.tgz && \
|
|
|
|
curl -O http://dl.google.com/android/ndk/android-ndk-r10e-linux-x86_64.bin && \
|
|
|
|
tar xzvf /tmp/android-sdk_r24.3.4-linux.tgz && \
|
|
|
|
chmod 755 /tmp/android-ndk* && /tmp/android-ndk-r10e-linux-x86_64.bin && \
|
|
|
|
mkdir /root/lib && \
|
|
|
|
mv /tmp/android-sdk-linux /root/lib/android-sdk && \
|
|
|
|
mv /tmp/android-ndk-r10e /root/lib/android-ndk && \
|
2015-10-17 21:37:11 +02:00
|
|
|
rm -fr /tmp/*
|
|
|
|
|
|
|
|
RUN mkdir -p /data/data/com.termux/files/usr && mkdir -p /root/termux-packages && \
|
2015-10-17 22:54:25 +02:00
|
|
|
# Install neovim dependencies
|
|
|
|
luarocks install lpeg && \
|
|
|
|
luarocks install lua-MessagePack && \
|
|
|
|
luarocks install luabitop
|
2015-10-17 19:09:11 +02:00
|
|
|
|
2016-03-09 20:18:00 +01:00
|
|
|
ADD scripts /root/termux-packages/scripts
|
2015-10-10 18:05:23 +02:00
|
|
|
ADD *.sh /root/termux-packages/
|
|
|
|
ADD *.spec /root/termux-packages/
|
|
|
|
ADD packages /root/termux-packages/packages
|
|
|
|
ADD ndk_patches /root/termux-packages/ndk_patches
|