summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFu Jinhua <fu.jinhua@zte.com.cn>2018-08-02 03:23:50 +0000
committerGerrit Code Review <gerrit@onap.org>2018-08-02 03:23:50 +0000
commite42da4a726f89946365def7a10603e75a680ee4f (patch)
treec86aa5c5d1a9962cdd3c9cbacd68589e69090d54
parentb4b717479b66d21e91d573023726c0b7486d9fc1 (diff)
parente63dbe30a9a1c27e057ba1ea41d49e45017b47a2 (diff)
Merge "Solve ubuntu vi problem"
-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