Browse Source

Merge pull request #28 from robertvalik/master

Dockerfile update
android-5
Fredrik Fornwall 9 years ago
parent
commit
5c6a19a36e
  1. 16
      Dockerfile

16
Dockerfile

@ -19,6 +19,7 @@ RUN apt-get update && apt-get install -y \
# Provides 'msgfmt' which the apt build uses # Provides 'msgfmt' which the apt build uses
gettext \ gettext \
help2man \ help2man \
libacl1-dev \
# Needed by luajit host part # Needed by luajit host part
libc6-dev-i386 \ libc6-dev-i386 \
# Needed by apt build # Needed by apt build
@ -28,11 +29,16 @@ RUN apt-get update && apt-get install -y \
# Provides 'glib-genmarshal' which the glib build uses # Provides 'glib-genmarshal' which the glib build uses
libglib2.0-dev \ libglib2.0-dev \
libncurses5-dev \ libncurses5-dev \
libssl-dev \
libtool \ libtool \
libtool-bin \
lua-lpeg \
luarocks \
lzip \ lzip \
m4 \ m4 \
pkg-config \ pkg-config \
scons \ scons \
subversion \
texinfo \ texinfo \
xmlto \ xmlto \
# Provides u'makedepend' which the openssl build uses # Provides u'makedepend' which the openssl build uses
@ -51,7 +57,15 @@ RUN cd /tmp && \
mv /tmp/android-ndk-r10e /root/lib/android-ndk && \ mv /tmp/android-ndk-r10e /root/lib/android-ndk && \
rm -fr /tmp/* rm -fr /tmp/*
RUN mkdir -p /data/data/com.termux/files/usr && mkdir -p /root/termux-packages RUN mkdir -p /data/data/com.termux/files/usr && mkdir -p /root/termux-packages && \
# This link is needed for building git package
mkdir -p /system/bin && \
ln -s /bin/sh /system/bin/sh && \
# Install neovim dependencies
luarocks install lpeg && \
luarocks install lua-MessagePack && \
luarocks install luabitop
ADD *.py /root/termux-packages/ ADD *.py /root/termux-packages/
ADD *.sh /root/termux-packages/ ADD *.sh /root/termux-packages/
ADD *.spec /root/termux-packages/ ADD *.spec /root/termux-packages/

Loading…
Cancel
Save