Mercurial > hg > sonic-visualiser
annotate deploy/linux/docker/Dockerfile_deb.in @ 2566:19fc1dc0994f
Merge from branch csv-import-headers
author | Chris Cannam |
---|---|
date | Thu, 18 Jun 2020 13:51:58 +0100 |
parents | 015806046ebb |
children | 4448639b9bb1 |
rev | line source |
---|---|
Chris@2116 | 1 FROM ubuntu:14.04 |
Chris@2116 | 2 MAINTAINER Chris Cannam <cannam@all-day-breakfast.com> |
Chris@2116 | 3 RUN apt-get update && \ |
Chris@2116 | 4 apt-get install -y \ |
Chris@2116 | 5 software-properties-common \ |
Chris@2116 | 6 build-essential \ |
Chris@2116 | 7 libbz2-dev \ |
Chris@2116 | 8 libfftw3-dev \ |
Chris@2116 | 9 libfishsound1-dev \ |
Chris@2116 | 10 libid3tag0-dev \ |
Chris@2116 | 11 liblo-dev \ |
Chris@2116 | 12 liblrdf0-dev \ |
Chris@2116 | 13 libmad0-dev \ |
Chris@2116 | 14 liboggz2-dev \ |
Chris@2266 | 15 libopus-dev \ |
Chris@2266 | 16 libopusfile-dev \ |
Chris@2116 | 17 libpulse-dev \ |
Chris@2116 | 18 libasound2-dev \ |
Chris@2116 | 19 libjack-dev \ |
Chris@2116 | 20 libsamplerate-dev \ |
Chris@2116 | 21 libsndfile-dev \ |
Chris@2116 | 22 libsord-dev \ |
Chris@2116 | 23 libxml2-utils \ |
Chris@2116 | 24 libgl1-mesa-dev \ |
Chris@2116 | 25 raptor-utils \ |
Chris@2116 | 26 librubberband-dev \ |
Chris@2116 | 27 portaudio19-dev \ |
Chris@2116 | 28 qt5-default libqt5svg5-dev \ |
Chris@2116 | 29 git \ |
Chris@2116 | 30 mercurial \ |
Chris@2116 | 31 curl wget \ |
Chris@2116 | 32 mlton \ |
Chris@2116 | 33 autoconf automake libtool lintian |
Chris@2116 | 34 |
Chris@2116 | 35 RUN apt-get clean && rm -rf /var/lib/apt/lists/* |
Chris@2116 | 36 |
Chris@2116 | 37 RUN locale-gen en_US.UTF-8 |
Chris@2116 | 38 ENV LANG en_US.UTF-8 |
Chris@2116 | 39 ENV LANGUAGE en_US:en |
Chris@2116 | 40 ENV LC_ALL en_US.UTF-8 |
Chris@2116 | 41 |
Chris@2116 | 42 RUN hg clone -r[[REVISION]] https://code.soundsoftware.ac.uk/hg/sonic-visualiser |
Chris@2116 | 43 |
Chris@2546 | 44 RUN git config --global http.postBuffer 4M |
Chris@2116 | 45 RUN git clone https://github.com/sandstorm-io/capnproto |
Chris@2116 | 46 WORKDIR capnproto |
Chris@2116 | 47 RUN git checkout v0.6.1 |
Chris@2116 | 48 WORKDIR c++ |
Chris@2120 | 49 RUN autoreconf -i && ./configure --enable-shared=no --enable-static=yes && make -j3 && make install |
Chris@2116 | 50 |
Chris@2144 | 51 WORKDIR /root |
Chris@2144 | 52 |
Chris@2353 | 53 COPY id_rsa_build .ssh/id_rsa_build |
Chris@2144 | 54 COPY known_hosts .ssh/known_hosts |
Chris@2353 | 55 RUN chmod 600 .ssh/id_rsa_build .ssh/known_hosts |
Chris@2353 | 56 RUN echo '{"accounts": {"sourcehut": "~breakfastquay"}}' > .repoint.json |
Chris@2353 | 57 RUN ( echo '[ui]' ; echo 'ssh = ssh -i /root/.ssh/id_rsa_build' ) > .hgrc |
Chris@2144 | 58 |
Chris@2209 | 59 RUN rm -f /usr/lib/x86_64-linux-gnu/librubberband.so* |
Chris@2209 | 60 |
Chris@2144 | 61 WORKDIR /sonic-visualiser |
Chris@2536 | 62 RUN qmake -set SV_PERSISTENT_DEFINES "WITH_FEEDBACK_REQUEST" |
Chris@2116 | 63 RUN ./configure |
Chris@2116 | 64 RUN make -j3 |
Chris@2116 | 65 |
Chris@2119 | 66 RUN deploy/linux/deploy-deb.sh [[RELEASE]] amd64 |
Chris@2116 | 67 RUN tar cvf output-deb.tar *.deb && cp output-deb.tar .. |