diff options
author | fujinhua <fu.jinhua@zte.com.cn> | 2018-08-02 11:37:38 +0800 |
---|---|---|
committer | fujinhua <fu.jinhua@zte.com.cn> | 2018-08-02 11:37:38 +0800 |
commit | d856ad315e2e5532117c3bd80fc6e75cf838ea28 (patch) | |
tree | 3c385fb5f88cdb069bdea1b5bafde008b36fb176 | |
parent | b67dd467e7e0b90b49a9c61d1285c98e4808414d (diff) |
Solve ubuntu vi problem
Modify vimrc.tiny in Dockerfile
Change-Id: I30101e30c06d925d3c466fc10ac1c7537f8f5878
Issue-ID: VFC-1006
Signed-off-by: fujinhua <fu.jinhua@zte.com.cn>
-rw-r--r-- | res/docker/Dockerfile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/res/docker/Dockerfile b/res/docker/Dockerfile index 963051e..78ed192 100644 --- a/res/docker/Dockerfile +++ b/res/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|set compatible|set 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 |