From: biancunkang Date: Thu, 2 Aug 2018 03:19:42 +0000 (+0800) Subject: Solve ubuntu vi problem X-Git-Tag: 1.2.0~11 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=4729c8fc535f2efc79ba02542893beeb86dbcfca;p=vfc%2Fgvnfm%2Fvnfmgr.git Solve ubuntu vi problem Modify vimrc.tiny in Dockerfile Change-Id: Ibcaea980f54e281b089a6a4622d60a68f34d67e0 Issue-ID: VFC-1006 Signed-off-by: biancunkang --- 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 && \