summaryrefslogtreecommitdiffstats
path: root/lcm
diff options
context:
space:
mode:
authorlaili <lai.li@zte.com.cn>2018-08-02 11:07:27 +0800
committerlaili <lai.li@zte.com.cn>2018-08-02 11:07:27 +0800
commite63dbe30a9a1c27e057ba1ea41d49e45017b47a2 (patch)
treee81720d12b76409b61d2e2deff734bde6fcfafbe /lcm
parentc560b9542571e1a77178247ee3073f4f7049d561 (diff)
Solve ubuntu vi problem
Modify vimrc.tiny in Dockerfile Change-Id: I44e142ab91d58fa9a8e22a0ae61def5e8f6dfa6a Issue-ID: VFC-1006 Signed-off-by: laili <lai.li@zte.com.cn>
Diffstat (limited to 'lcm')
-rwxr-xr-xlcm/docker/Dockerfile3
1 files changed, 3 insertions, 0 deletions
diff --git a/lcm/docker/Dockerfile b/lcm/docker/Dockerfile
index 8597e409..cebfcd6b 100755
--- a/lcm/docker/Dockerfile
+++ b/lcm/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