diff options
author | fujinhua <fu.jinhua@zte.com.cn> | 2018-08-02 11:41:16 +0800 |
---|---|---|
committer | fujinhua <fu.jinhua@zte.com.cn> | 2018-08-02 11:41:16 +0800 |
commit | d85d6a6db84c43ad6ff8403ff71ed1dcb160a3a4 (patch) | |
tree | 42ce077f727383d251d789500bd1cf4f9959650f /zte/vmanager/docker/Dockerfile | |
parent | de39cfe75a6dcf026d7ac69a56bfbdf86c11bdc9 (diff) |
Solve ubuntu vi problem
Modify vimrc.tiny in Dockerfile
Change-Id: I8cc62208d2ecbacf1d6a6647f7176b029464f522
Issue-ID: VFC-1006
Signed-off-by: fujinhua <fu.jinhua@zte.com.cn>
Diffstat (limited to 'zte/vmanager/docker/Dockerfile')
-rw-r--r-- | zte/vmanager/docker/Dockerfile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/zte/vmanager/docker/Dockerfile b/zte/vmanager/docker/Dockerfile index 71d66bd5..438fc742 100644 --- a/zte/vmanager/docker/Dockerfile +++ b/zte/vmanager/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 apt-get update && \ apt-get install -y python-virtualenv && \ apt-get install -y python-setuptools && \ |