aboutsummaryrefslogtreecommitdiffstats
path: root/docker
diff options
context:
space:
mode:
authorfujinhua <fu.jinhua@zte.com.cn>2018-08-01 15:32:46 +0800
committerfujinhua <fu.jinhua@zte.com.cn>2018-08-01 15:32:46 +0800
commitbe8971136b637f8cf61322163230298ccfbbe193 (patch)
tree00c6dcf7a12c19407846f5b4c6fe6ccd75071bb1 /docker
parent7bcf12b994f6217d2ec2d7dd26966b79923ab5ad (diff)
Solve ubuntu vi problem
Modify vimrc.tiny in Dockerfile Change-Id: Ic2e82b52200f0a4437a75a99b7e45df9e3df1b16 Issue-ID: VFC-1006 Signed-off-by: fujinhua <fu.jinhua@zte.com.cn>
Diffstat (limited to 'docker')
-rwxr-xr-xdocker/Dockerfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile
index e1d33ef6..0a148c58 100755
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -6,7 +6,7 @@ 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 \ &
+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