summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoryunlong ying <ying.yunlong@zte.com.cn>2018-08-02 03:47:19 +0000
committerGerrit Code Review <gerrit@onap.org>2018-08-02 03:47:19 +0000
commitc18b8fc063f023976c664ed8c5a370cdf23de10b (patch)
tree6dffbad4adac6080a53c94910e7968241ba7d881
parent0fac82ebe9db2e49eb55c9fe38a75bf520c6eb5f (diff)
parentd85d6a6db84c43ad6ff8403ff71ed1dcb160a3a4 (diff)
Merge "Solve ubuntu vi problem"
-rw-r--r--zte/vmanager/docker/Dockerfile3
1 files changed, 3 insertions, 0 deletions
diff --git a/zte/vmanager/docker/Dockerfile b/zte/vmanager/docker/Dockerfile
index 71d66bd5..438fc742 100644
--- a/zte/vmanager/docker/Dockerfile
+++ b/zte/vmanager/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 apt-get update && \
apt-get install -y python-virtualenv && \
apt-get install -y python-setuptools && \