Fix docker build error problem 35/59135/1
authorfujinhua <fu.jinhua@zte.com.cn>
Mon, 6 Aug 2018 09:22:22 +0000 (17:22 +0800)
committerfujinhua <fu.jinhua@zte.com.cn>
Mon, 6 Aug 2018 09:22:22 +0000 (17:22 +0800)
Change-Id: Ia08f453acf320105e4a1c6bb3ac05f0c33452902
Issue-ID: VFC-1006
Signed-off-by: fujinhua <fu.jinhua@zte.com.cn>
docker/Dockerfile

index 5397f11..ae4365f 100644 (file)
@@ -6,8 +6,8 @@ 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 sed -i "s|set compatible|set nocompatible|" /etc/vim/vimrc.tiny
+RUN 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