summaryrefslogtreecommitdiffstats
path: root/mgr
diff options
context:
space:
mode:
authorbiancunkang <bian.cunkang@zte.com.cn>2018-08-02 11:19:42 +0800
committerbiancunkang <bian.cunkang@zte.com.cn>2018-08-02 11:19:42 +0800
commit4729c8fc535f2efc79ba02542893beeb86dbcfca (patch)
tree7b5b0bd9ea4dc0645565d31f25356da12b6f2d61 /mgr
parentf78b421465f77b9042c3c67a85a3dffb91e939c9 (diff)
Solve ubuntu vi problem
Modify vimrc.tiny in Dockerfile Change-Id: Ibcaea980f54e281b089a6a4622d60a68f34d67e0 Issue-ID: VFC-1006 Signed-off-by: biancunkang <bian.cunkang@zte.com.cn>
Diffstat (limited to 'mgr')
-rw-r--r--mgr/docker/Dockerfile3
1 files changed, 3 insertions, 0 deletions
diff --git a/mgr/docker/Dockerfile b/mgr/docker/Dockerfile
index b88a8a7..2325844 100644
--- a/mgr/docker/Dockerfile
+++ b/mgr/docker/Dockerfile
@@ -9,6 +9,9 @@ ENV https_proxy $HTTPS_PROXY
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
+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 && \