diff deploy/linux/docker/Dockerfile_appimage.in @ 2144:3a4202cae7fe

Updates to try to resolve bitbucket access problem from old Ubuntu 14.04 image - switching to using a dedicated build ssh key (locally stored, not in the repo!) copied in on demand
author Chris Cannam
date Tue, 04 Dec 2018 10:57:36 +0000
parents f69819b5c248
children 3f3ad6701482
line wrap: on
line diff
--- a/deploy/linux/docker/Dockerfile_appimage.in	Tue Dec 04 10:31:12 2018 +0000
+++ b/deploy/linux/docker/Dockerfile_appimage.in	Tue Dec 04 10:57:36 2018 +0000
@@ -59,7 +59,15 @@
 WORKDIR c++
 RUN autoreconf -i && ./configure && 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
 ENV QTDIR /opt/qt510
 ENV PATH /opt/qt510/bin:$PATH
 RUN ./configure