Solve ubuntu vi problem 53/58553/1
authorfujinhua <fu.jinhua@zte.com.cn>
Thu, 2 Aug 2018 03:39:14 +0000 (11:39 +0800)
committerfujinhua <fu.jinhua@zte.com.cn>
Thu, 2 Aug 2018 03:39:14 +0000 (11:39 +0800)
Modify vimrc.tiny in Dockerfile

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

index 60b9235..917afa2 100644 (file)
@@ -6,6 +6,9 @@ ARG HTTPS_PROXY=${HTTPS_PROXY}
 ENV http_proxy $HTTP_PROXY
 ENV https_proxy $HTTPS_PROXY
 
+RUN sed -i "s|set compatible|set nocompatible|" /etc/vim/vimrc.tiny \ &
+    echo "set backspace=2" >> /etc/vim/vimrc.tiny
+
 RUN apt-get update && \
     apt-get install -y python-virtualenv && \
     apt-get install -y python-setuptools && \