Mercurial > hg > sonic-visualiser
annotate 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 |
rev | line source |
---|---|
Chris@2116 | 1 # This pulls the latest versions of capnp & SV from repos - so you |
Chris@2116 | 2 # will need to defeat the Docker cache by destroying the container |
Chris@2116 | 3 # each time you want to update it |
Chris@2116 | 4 # |
Chris@2116 | 5 FROM ubuntu:14.04 |
Chris@2116 | 6 MAINTAINER Chris Cannam <cannam@all-day-breakfast.com> |
Chris@2116 | 7 RUN apt-get update && \ |
Chris@2116 | 8 apt-get install -y \ |
Chris@2116 | 9 software-properties-common \ |
Chris@2116 | 10 build-essential \ |
Chris@2116 | 11 libbz2-dev \ |
Chris@2116 | 12 libfftw3-dev \ |
Chris@2116 | 13 libfishsound1-dev \ |
Chris@2116 | 14 libid3tag0-dev \ |
Chris@2116 | 15 liblo-dev \ |
Chris@2116 | 16 liblrdf0-dev \ |
Chris@2116 | 17 libmad0-dev \ |
Chris@2116 | 18 liboggz2-dev \ |
Chris@2116 | 19 libpulse-dev \ |
Chris@2116 | 20 libasound2-dev \ |
Chris@2116 | 21 libjack-dev \ |
Chris@2116 | 22 libsamplerate-dev \ |
Chris@2116 | 23 libsndfile-dev \ |
Chris@2116 | 24 libsord-dev \ |
Chris@2116 | 25 libxml2-utils \ |
Chris@2116 | 26 libgl1-mesa-dev \ |
Chris@2116 | 27 raptor-utils \ |
Chris@2116 | 28 librubberband-dev \ |
Chris@2116 | 29 portaudio19-dev \ |
Chris@2116 | 30 qt5-default libqt5svg5-dev \ |
Chris@2116 | 31 git \ |
Chris@2116 | 32 mercurial \ |
Chris@2116 | 33 curl wget \ |
Chris@2116 | 34 mlton \ |
Chris@2116 | 35 autoconf automake libtool lintian |
Chris@2116 | 36 |
Chris@2116 | 37 RUN apt-get clean && rm -rf /var/lib/apt/lists/* |
Chris@2116 | 38 |
Chris@2116 | 39 RUN locale-gen en_US.UTF-8 |
Chris@2116 | 40 ENV LANG en_US.UTF-8 |
Chris@2116 | 41 ENV LANGUAGE en_US:en |
Chris@2116 | 42 ENV LC_ALL en_US.UTF-8 |
Chris@2116 | 43 |
Chris@2116 | 44 RUN hg clone -r[[REVISION]] https://code.soundsoftware.ac.uk/hg/sonic-visualiser |
Chris@2116 | 45 |
Chris@2116 | 46 RUN git clone https://github.com/sandstorm-io/capnproto |
Chris@2116 | 47 WORKDIR capnproto |
Chris@2116 | 48 RUN git checkout v0.6.1 |
Chris@2116 | 49 WORKDIR c++ |
Chris@2120 | 50 RUN autoreconf -i && ./configure --enable-shared=no --enable-static=yes && make -j3 && make install |
Chris@2116 | 51 |
Chris@2144 | 52 WORKDIR /root |
Chris@2144 | 53 |
Chris@2144 | 54 COPY id_dsa_build .ssh/id_dsa_build |
Chris@2144 | 55 COPY known_hosts .ssh/known_hosts |
Chris@2144 | 56 RUN chmod 600 .ssh/id_dsa_build .ssh/known_hosts |
Chris@2144 | 57 RUN echo '{"accounts": {"bitbucket": "cannam"}}' > .repoint.json |
Chris@2144 | 58 RUN ( echo '[ui]' ; echo 'ssh = ssh -i /root/.ssh/id_dsa_build' ) > .hgrc |
Chris@2144 | 59 |
Chris@2144 | 60 WORKDIR /sonic-visualiser |
Chris@2116 | 61 RUN ./configure |
Chris@2116 | 62 RUN make -j3 |
Chris@2116 | 63 |
Chris@2119 | 64 RUN deploy/linux/deploy-deb.sh [[RELEASE]] amd64 |
Chris@2116 | 65 RUN tar cvf output-deb.tar *.deb && cp output-deb.tar .. |