diff options
author | fujinhua <fu.jinhua@zte.com.cn> | 2018-08-02 11:39:14 +0800 |
---|---|---|
committer | fujinhua <fu.jinhua@zte.com.cn> | 2018-08-02 11:39:14 +0800 |
commit | c416e33f0591f39640cc5d18592a3f208038b50f (patch) | |
tree | 41b26054365cfb0c14de3f124750b1cf38ec9800 /gvnfmadapter/docker | |
parent | 026d0d1fac55f0d9df0d45da2cec1b4aa0f6ec78 (diff) |
Solve ubuntu vi problem
Modify vimrc.tiny in Dockerfile
Change-Id: I9b7e08525ebcbd527f74388011d9dc31c17a6b48
Issue-ID: VFC-1006
Signed-off-by: fujinhua <fu.jinhua@zte.com.cn>
Diffstat (limited to 'gvnfmadapter/docker')
-rw-r--r-- | gvnfmadapter/docker/Dockerfile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gvnfmadapter/docker/Dockerfile b/gvnfmadapter/docker/Dockerfile index 60b9235..917afa2 100644 --- a/gvnfmadapter/docker/Dockerfile +++ b/gvnfmadapter/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 && \ |