From: fujinhua Date: Wed, 1 Aug 2018 03:16:52 +0000 (+0800) Subject: Solve ubuntu vi problem X-Git-Tag: 1.2.0~103 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F99%2F58299%2F1;p=vfc%2Fnfvo%2Flcm.git Solve ubuntu vi problem Modify vimrc.tiny in Dockerfile Change-Id: I97d88ee824704a0b36a5047870cbd43501193fed Issue-ID: VFC-1006 Signed-off-by: fujinhua --- diff --git a/docker/Dockerfile b/docker/Dockerfile index 1911a262..e1d33ef6 100755 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -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