comparison 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
comparison
equal deleted inserted replaced
2129:02f15fb8ec68 2206:252c7c8a1a37
1 # This pulls the latest versions of capnp & SV from repos - so you
2 # will need to defeat the Docker cache by destroying the container
3 # each time you want to update it
4 #
5 FROM ubuntu:14.04 1 FROM ubuntu:14.04
6 MAINTAINER Chris Cannam <cannam@all-day-breakfast.com> 2 MAINTAINER Chris Cannam <cannam@all-day-breakfast.com>
7 RUN apt-get update && \ 3 RUN apt-get update && \
8 apt-get install -y \ 4 apt-get install -y \
9 software-properties-common \ 5 software-properties-common \
47 WORKDIR capnproto 43 WORKDIR capnproto
48 RUN git checkout v0.6.1 44 RUN git checkout v0.6.1
49 WORKDIR c++ 45 WORKDIR c++
50 RUN autoreconf -i && ./configure --enable-shared=no --enable-static=yes && make -j3 && make install 46 RUN autoreconf -i && ./configure --enable-shared=no --enable-static=yes && make -j3 && make install
51 47
52 WORKDIR ../../sonic-visualiser 48 WORKDIR /root
49
50 COPY id_dsa_build .ssh/id_dsa_build
51 COPY known_hosts .ssh/known_hosts
52 RUN chmod 600 .ssh/id_dsa_build .ssh/known_hosts
53 RUN echo '{"accounts": {"bitbucket": "cannam"}}' > .repoint.json
54 RUN ( echo '[ui]' ; echo 'ssh = ssh -i /root/.ssh/id_dsa_build' ) > .hgrc
55
56 WORKDIR /sonic-visualiser
53 RUN ./configure 57 RUN ./configure
54 RUN make -j3 58 RUN make -j3
55 59
56 RUN deploy/linux/deploy-deb.sh [[RELEASE]] amd64 60 RUN deploy/linux/deploy-deb.sh [[RELEASE]] amd64
57 RUN tar cvf output-deb.tar *.deb && cp output-deb.tar .. 61 RUN tar cvf output-deb.tar *.deb && cp output-deb.tar ..