From 4729c8fc535f2efc79ba02542893beeb86dbcfca Mon Sep 17 00:00:00 2001 From: biancunkang Date: Thu, 2 Aug 2018 11:19:42 +0800 Subject: [PATCH] Solve ubuntu vi problem Modify vimrc.tiny in Dockerfile Change-Id: Ibcaea980f54e281b089a6a4622d60a68f34d67e0 Issue-ID: VFC-1006 Signed-off-by: biancunkang --- mgr/docker/Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mgr/docker/Dockerfile b/mgr/docker/Dockerfile index b88a8a7..2325844 100644 --- a/mgr/docker/Dockerfile +++ b/mgr/docker/Dockerfile @@ -9,6 +9,9 @@ ENV https_proxy $HTTPS_PROXY 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 +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 && \ -- 2.16.6