diff deploy/linux/docker/Dockerfile_deb.in @ 2206:252c7c8a1a37 rubberband-static

Merge from default branch
author Chris Cannam
date Thu, 31 Jan 2019 10:32:45 +0000
parents 3f3ad6701482
children 07e957f5d3d8
line wrap: on
line diff
--- a/deploy/linux/docker/Dockerfile_deb.in	Wed Nov 28 12:55:33 2018 +0000
+++ b/deploy/linux/docker/Dockerfile_deb.in	Thu Jan 31 10:32:45 2019 +0000
@@ -1,7 +1,3 @@
-# This pulls the latest versions of capnp & SV from repos - so you
-# will need to defeat the Docker cache by destroying the container
-# each time you want to update it
-#
 FROM ubuntu:14.04
 MAINTAINER Chris Cannam <cannam@all-day-breakfast.com>
 RUN apt-get update && \
@@ -49,7 +45,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