summaryrefslogtreecommitdiffstats
path: root/docker
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2016-05-11 14:58:56 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2016-05-11 15:13:24 +0200
commit9176396b8c65ec58533fa7e77db8e642f4699f45 (patch)
treea265bd23197312877b2a282ff8c4045b30e81396 /docker
parent60a32a3bdee48c932bcae0fedcd6980c8f00b1ef (diff)
Respect multiline syntax in Dockerfile
It fixes errors in /home/opnfv/.bashrc induced by [1]. [1] https://gerrit.opnfv.org/gerrit/#/c/13699/ Change-Id: I07ff6504ee8fee7428b700553419d1208e639379 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to 'docker')
-rw-r--r--docker/Dockerfile10
1 files changed, 7 insertions, 3 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile
index f2c81780d..f119cbb91 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -108,7 +108,11 @@ RUN sudo apt-get install -y nodejs
RUN cd ${repos_dir}/promise && sudo npm -g install npm@latest
RUN cd ${repos_dir}/promise && npm install
-RUN /bin/echo -e "set nocompatible\nset backspace=2" >> /home/opnfv/.vimrc
-RUN echo "set nocompatible" >> /home/opnfv/.exrc
-RUN echo -e "alias ll='ls -lh'\n. /home/opnfv/repos/functest/cli/functest-complete.sh" >> /home/opnfv/.bashrc
+RUN echo "set nocompatible \n\
+set backspace=2" \
+>> /home/opnfv/.vimrc
+RUN echo set nocompatible >> /home/opnfv/.exrc
+RUN echo "alias ll='ls -lh' \n\
+. /home/opnfv/repos/functest/cli/functest-complete.sh" \
+>> /home/opnfv/.bashrc
RUN cd ${repos_dir}/functest/cli && pip install .