summaryrefslogtreecommitdiffstats
path: root/docker
diff options
context:
space:
mode:
authorfujinhua <fu.jinhua@zte.com.cn>2018-08-01 17:08:51 +0800
committerfujinhua <fu.jinhua@zte.com.cn>2018-08-01 17:08:51 +0800
commitc1b341bfad936867ea4d36f9204390525add8c57 (patch)
tree295744c00d03999af216bc102db7d1cb0067d45b /docker
parentc0901c44ad55cb953de522f4a49cf88274c07d7b (diff)
Solve ubuntu vi problem
Modify vimrc.tiny in Dockerfile Change-Id: I43ae0445dba41ddfddf4a81680d416540367f480 Issue-ID: VFC-1006 Signed-off-by: fujinhua <fu.jinhua@zte.com.cn>
Diffstat (limited to 'docker')
-rwxr-xr-xdocker/Dockerfile3
1 files changed, 3 insertions, 0 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile
index 8df62df2..7f65681e 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|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