Mercurial > hg > sonic-visualiser
comparison deploy/linux/docker/Dockerfile_deb.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 | 295b6a146f1c |
children | 3f3ad6701482 |
comparison
equal
deleted
inserted
replaced
2143:27ad597b1180 | 2144:3a4202cae7fe |
---|---|
47 WORKDIR capnproto | 47 WORKDIR capnproto |
48 RUN git checkout v0.6.1 | 48 RUN git checkout v0.6.1 |
49 WORKDIR c++ | 49 WORKDIR c++ |
50 RUN autoreconf -i && ./configure --enable-shared=no --enable-static=yes && make -j3 && make install | 50 RUN autoreconf -i && ./configure --enable-shared=no --enable-static=yes && make -j3 && make install |
51 | 51 |
52 WORKDIR ../../sonic-visualiser | 52 WORKDIR /root |
53 | |
54 COPY id_dsa_build .ssh/id_dsa_build | |
55 COPY known_hosts .ssh/known_hosts | |
56 RUN chmod 600 .ssh/id_dsa_build .ssh/known_hosts | |
57 RUN echo '{"accounts": {"bitbucket": "cannam"}}' > .repoint.json | |
58 RUN ( echo '[ui]' ; echo 'ssh = ssh -i /root/.ssh/id_dsa_build' ) > .hgrc | |
59 | |
60 WORKDIR /sonic-visualiser | |
53 RUN ./configure | 61 RUN ./configure |
54 RUN make -j3 | 62 RUN make -j3 |
55 | 63 |
56 RUN deploy/linux/deploy-deb.sh [[RELEASE]] amd64 | 64 RUN deploy/linux/deploy-deb.sh [[RELEASE]] amd64 |
57 RUN tar cvf output-deb.tar *.deb && cp output-deb.tar .. | 65 RUN tar cvf output-deb.tar *.deb && cp output-deb.tar .. |