diff deploy/linux/docker/Dockerfile_deb.in @ 2145:b35c1f8b2ddd fix-static-analysis

Merge from default branch
author Chris Cannam
date Tue, 04 Dec 2018 13:53:59 +0000
parents 3a4202cae7fe
children 3f3ad6701482
line wrap: on
line diff
--- a/deploy/linux/docker/Dockerfile_deb.in	Mon Nov 26 14:35:51 2018 +0000
+++ b/deploy/linux/docker/Dockerfile_deb.in	Tue Dec 04 13:53:59 2018 +0000
@@ -49,7 +49,15 @@
 WORKDIR c++
 RUN autoreconf -i && ./configure --enable-shared=no --enable-static=yes && make -j3 && make install
 
-WORKDIR ../../sonic-visualiser
+WORKDIR /root
+
+COPY id_dsa_build .ssh/id_dsa_build
+COPY known_hosts .ssh/known_hosts
+RUN chmod 600 .ssh/id_dsa_build .ssh/known_hosts
+RUN echo '{"accounts": {"bitbucket": "cannam"}}' > .repoint.json
+RUN ( echo '[ui]' ; echo 'ssh = ssh -i /root/.ssh/id_dsa_build' ) > .hgrc
+
+WORKDIR /sonic-visualiser
 RUN ./configure
 RUN make -j3