Added php5-cli to Dockerfile
[termux-packages] / Dockerfile
1 FROM ubuntu:15.04
2 MAINTAINER Alex Cornejo <acornejo@gmail.com>
3
4 # to prevent dialog warnings
5 ENV DEBIAN_FRONTEND noninteractive
6 # to fix locale to avoid warnings
7 RUN locale-gen en_US.UTF-8
8 RUN dpkg-reconfigure locales
9
10 RUN apt-get update && apt-get install -y \
11 sudo \
12 asciidoc \
13 automake \
14 bison \
15 flex \
16 cmake \
17 # Used for fetching sources
18 curl \
19 # Provides 'msgfmt' which the apt build uses
20 gettext \
21 help2man \
22 libacl1-dev \
23 # Needed by luajit host part
24 libc6-dev-i386 \
25 # Needed by apt build
26 libcurl4-openssl-dev \
27 # Provides 'gkd-pixbuf-query-loaders' which the librsvg build uses
28 libgdk-pixbuf2.0-dev \
29 # Provides 'glib-genmarshal' which the glib build uses
30 libglib2.0-dev \
31 libncurses5-dev \
32 libssl-dev \
33 libtool \
34 libtool-bin \
35 lua-lpeg \
36 luarocks \
37 lzip \
38 m4 \
39 # php-cli is needed to compile php package
40 php5-cli \
41 pkg-config \
42 scons \
43 subversion \
44 texinfo \
45 xmlto \
46 # Provides u'makedepend' which the openssl build uses
47 xutils-dev \
48 # Needed for android-sdk
49 openjdk-7-jdk
50
51
52 RUN cd /tmp && \
53 curl -O http://dl.google.com/android/android-sdk_r24.3.4-linux.tgz && \
54 curl -O http://dl.google.com/android/ndk/android-ndk-r10e-linux-x86_64.bin && \
55 tar xzvf /tmp/android-sdk_r24.3.4-linux.tgz && \
56 chmod 755 /tmp/android-ndk* && /tmp/android-ndk-r10e-linux-x86_64.bin && \
57 mkdir /root/lib && \
58 mv /tmp/android-sdk-linux /root/lib/android-sdk && \
59 mv /tmp/android-ndk-r10e /root/lib/android-ndk && \
60 rm -fr /tmp/*
61
62 RUN mkdir -p /data/data/com.termux/files/usr && mkdir -p /root/termux-packages && \
63 # This link is needed for building git package
64 mkdir -p /system/bin && \
65 ln -s /bin/sh /system/bin/sh && \
66 # Install neovim dependencies
67 luarocks install lpeg && \
68 luarocks install lua-MessagePack && \
69 luarocks install luabitop
70
71 ADD *.py /root/termux-packages/
72 ADD *.sh /root/termux-packages/
73 ADD *.spec /root/termux-packages/
74 ADD packages /root/termux-packages/packages
75 ADD ndk_patches /root/termux-packages/ndk_patches