summaryrefslogtreecommitdiffstats
path: root/docker/Dockerfile
diff options
context:
space:
mode:
authorfujinhua <fu.jinhua@zte.com.cn>2018-08-01 11:16:52 +0800
committerfujinhua <fu.jinhua@zte.com.cn>2018-08-01 11:16:52 +0800
commit7bcf12b994f6217d2ec2d7dd26966b79923ab5ad (patch)
tree259993c58a709d6315d372cf61fe6def42597bdc /docker/Dockerfile
parent88d6c096bbd733652fcaebdacc435546cdd6dee5 (diff)
Solve ubuntu vi problem
Modify vimrc.tiny in Dockerfile Change-Id: I97d88ee824704a0b36a5047870cbd43501193fed Issue-ID: VFC-1006 Signed-off-by: fujinhua <fu.jinhua@zte.com.cn>
Diffstat (limited to 'docker/Dockerfile')
-rwxr-xr-xdocker/Dockerfile3
1 files changed, 3 insertions, 0 deletions
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