Solve ubuntu vi problem 99/58299/1
authorfujinhua <fu.jinhua@zte.com.cn>
Wed, 1 Aug 2018 03:16:52 +0000 (11:16 +0800)
committerfujinhua <fu.jinhua@zte.com.cn>
Wed, 1 Aug 2018 03:16:52 +0000 (11:16 +0800)
Modify vimrc.tiny in Dockerfile

Change-Id: I97d88ee824704a0b36a5047870cbd43501193fed
Issue-ID: VFC-1006
Signed-off-by: fujinhua <fu.jinhua@zte.com.cn>
docker/Dockerfile

index 1911a26..e1d33ef 100755 (executable)
@@ -6,6 +6,9 @@ ARG HTTPS_PROXY=${HTTPS_PROXY}
 ENV http_proxy $HTTP_PROXY
 ENV https_proxy $HTTPS_PROXY
 
+RUN sed -i "s|compatible|nocompatible|" /etc/vim/vimrc.tiny \ &
+    echo "set backspace=2" >> /etc/vim/vimrc.tiny
+
 RUN echo "mysql-server mysql-server/root_password password root" | debconf-set-selections
 RUN echo "mysql-server mysql-server/root_password_again password root" | debconf-set-selections