Mercurial > hg > sonic-visualiser
annotate deploy/linux/docker/Dockerfile_deb.in @ 2168:e0f100aad5f6
Next release will be 3.2.1
author | Chris Cannam |
---|---|
date | Fri, 04 Jan 2019 12:46:18 +0000 |
parents | 3f3ad6701482 |
children | 07e957f5d3d8 |
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@2116 | 15 libpulse-dev \ |
Chris@2116 | 16 libasound2-dev \ |
Chris@2116 | 17 libjack-dev \ |
Chris@2116 | 18 libsamplerate-dev \ |
Chris@2116 | 19 libsndfile-dev \ |
Chris@2116 | 20 libsord-dev \ |
Chris@2116 | 21 libxml2-utils \ |
Chris@2116 | 22 libgl1-mesa-dev \ |
Chris@2116 | 23 raptor-utils \ |
Chris@2116 | 24 librubberband-dev \ |
Chris@2116 | 25 portaudio19-dev \ |
Chris@2116 | 26 qt5-default libqt5svg5-dev \ |
Chris@2116 | 27 git \ |
Chris@2116 | 28 mercurial \ |
Chris@2116 | 29 curl wget \ |
Chris@2116 | 30 mlton \ |
Chris@2116 | 31 autoconf automake libtool lintian |
Chris@2116 | 32 |
Chris@2116 | 33 RUN apt-get clean && rm -rf /var/lib/apt/lists/* |
Chris@2116 | 34 |
Chris@2116 | 35 RUN locale-gen en_US.UTF-8 |
Chris@2116 | 36 ENV LANG en_US.UTF-8 |
Chris@2116 | 37 ENV LANGUAGE en_US:en |
Chris@2116 | 38 ENV LC_ALL en_US.UTF-8 |
Chris@2116 | 39 |
Chris@2116 | 40 RUN hg clone -r[[REVISION]] https://code.soundsoftware.ac.uk/hg/sonic-visualiser |
Chris@2116 | 41 |
Chris@2116 | 42 RUN git clone https://github.com/sandstorm-io/capnproto |
Chris@2116 | 43 WORKDIR capnproto |
Chris@2116 | 44 RUN git checkout v0.6.1 |
Chris@2116 | 45 WORKDIR c++ |
Chris@2120 | 46 RUN autoreconf -i && ./configure --enable-shared=no --enable-static=yes && make -j3 && make install |
Chris@2116 | 47 |
Chris@2144 | 48 WORKDIR /root |
Chris@2144 | 49 |
Chris@2144 | 50 COPY id_dsa_build .ssh/id_dsa_build |
Chris@2144 | 51 COPY known_hosts .ssh/known_hosts |
Chris@2144 | 52 RUN chmod 600 .ssh/id_dsa_build .ssh/known_hosts |
Chris@2144 | 53 RUN echo '{"accounts": {"bitbucket": "cannam"}}' > .repoint.json |
Chris@2144 | 54 RUN ( echo '[ui]' ; echo 'ssh = ssh -i /root/.ssh/id_dsa_build' ) > .hgrc |
Chris@2144 | 55 |
Chris@2144 | 56 WORKDIR /sonic-visualiser |
Chris@2116 | 57 RUN ./configure |
Chris@2116 | 58 RUN make -j3 |
Chris@2116 | 59 |
Chris@2119 | 60 RUN deploy/linux/deploy-deb.sh [[RELEASE]] amd64 |
Chris@2116 | 61 RUN tar cvf output-deb.tar *.deb && cp output-deb.tar .. |