Corrected using of echo command 65/10265/1
authorViktor Tikkanen <viktor.tikkanen@nokia.com>
Fri, 19 Feb 2016 07:45:04 +0000 (09:45 +0200)
committerJose Lausuch <jose.lausuch@ericsson.com>
Fri, 19 Feb 2016 08:09:12 +0000 (08:09 +0000)
Full path of echo is needed when using -e option in Docker file.
Otherwise -e will be output as part of the string.

Change-Id: Ic226209a3ef5dac991ccae996f6e7afa0061fccf
Signed-off-by: Viktor Tikkanen <viktor.tikkanen@nokia.com>
(cherry picked from commit 78fd590723f24a723fe8ab32bf992b80f0956f25)

docker/Dockerfile

index 8424b5f..caa733f 100644 (file)
@@ -83,6 +83,6 @@ ADD http://download.cirros-cloud.net/0.3.4/cirros-0.3.4-x86_64-disk.img /home/op
 RUN gpg --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3
 RUN curl -L https://get.rvm.io | bash -s stable
 
-RUN echo -e "set nocompatible\nset backspace=2" >> /home/opnfv/.vimrc
+RUN /bin/echo -e "set nocompatible\nset backspace=2" >> /home/opnfv/.vimrc
 RUN echo "set nocompatible" >> /home/opnfv/.exrc
-RUN echo "alias ll='ls -lh'" >> /home/opnfv/.bash_aliases
\ No newline at end of file
+RUN echo "alias ll='ls -lh'" >> /home/opnfv/.bash_aliases