FROM ubuntu:18.04 ENV DEBIAN_FRONTEND=noninteractive RUN apt-get update && \ apt-get -y dist-upgrade && \ apt-get -y install python3-dev \ python3-pip \ ca-cacert \ libncurses5-dev libncursesw5-dev \ git \ tcl-dev \ tcllib \ gdb \ lldb && \ apt-get -y autoremove RUN ln -fs /usr/share/zoneinfo/Europe/London /etc/localtime && \ dpkg-reconfigure --frontend noninteractive tzdata ## cleanup of files from setup RUN rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* ARG VIM_VERSION=v8.1.1270 ENV CONF_ARGS "--with-features=huge \ --enable-python3interp \ --enable-terminal \ --enable-multibyte \ --enable-fail-if-missing" RUN mkdir -p $HOME/vim && \ cd $HOME/vim && \ git clone https://github.com/vim/vim && \ cd vim && \ git checkout ${VIM_VERSION} && \ make -j 4 install