Update dockerfile of vfc-gvnfm-vnfmgr 81/20481/2
authorying.yunlong <ying.yunlong@zte.com.cn>
Wed, 25 Oct 2017 03:00:34 +0000 (11:00 +0800)
committerying.yunlong <ying.yunlong@zte.com.cn>
Wed, 25 Oct 2017 03:23:09 +0000 (11:23 +0800)
update vim editor

Change-Id: I646d5cc088b89ad5d28c52e1af20a015f7eb9b5d
Issue-Id: VFC-551
Signed-off-by: ying.yunlong <ying.yunlong@zte.com.cn>
mgr/docker/Dockerfile
mgr/tox.ini

index b20a7d2..03fd7ad 100644 (file)
@@ -26,6 +26,9 @@ RUN apt-get update && \
     apt-get install -y libssl-dev && \
     apt-get install -y libffi-dev
 
+RUN sudo apt-get remove vim-common
+RUN sudo apt-get install vim
+
 ADD . /service
 WORKDIR /service
 
index d422bee..4f5c64f 100644 (file)
@@ -6,7 +6,7 @@ skipsdist = true
 downloadcache = ~/cache/pip
 
 [flake8]
-ignore =  E501
+ignore =  E501,E722
 max-complexity = 12
 
 [testenv]