Chris@1601
|
1 FROM ubuntu:16.04
|
Chris@1601
|
2 MAINTAINER Chris Cannam <cannam@all-day-breakfast.com>
|
Chris@1608
|
3 RUN apt-get update && \
|
Chris@1608
|
4 apt-get install -y \
|
Chris@1601
|
5 build-essential \
|
Chris@1601
|
6 libbz2-dev \
|
Chris@1601
|
7 libfftw3-dev \
|
Chris@1601
|
8 libfishsound1-dev \
|
Chris@1601
|
9 libid3tag0-dev \
|
Chris@1601
|
10 liblo-dev \
|
Chris@1601
|
11 liblrdf0-dev \
|
Chris@1601
|
12 libmad0-dev \
|
Chris@1601
|
13 liboggz2-dev \
|
Chris@1601
|
14 libpulse-dev \
|
Chris@1601
|
15 libsamplerate-dev \
|
Chris@1601
|
16 libsndfile-dev \
|
Chris@1601
|
17 libsord-dev \
|
Chris@1601
|
18 libxml2-utils \
|
Chris@1601
|
19 portaudio19-dev \
|
Chris@1601
|
20 qt5-default libqt5svg5-dev \
|
Chris@1601
|
21 raptor-utils \
|
Chris@1601
|
22 librubberband-dev \
|
Chris@1601
|
23 git \
|
Chris@1601
|
24 mercurial \
|
Chris@1601
|
25 curl wget \
|
Chris@1601
|
26 autoconf automake libtool lintian
|
Chris@1601
|
27 RUN apt-get clean && rm -rf /var/lib/apt/lists/*
|
Chris@1601
|
28 RUN locale-gen en_US.UTF-8
|
Chris@1601
|
29 ENV LANG en_US.UTF-8
|
Chris@1601
|
30 ENV LANGUAGE en_US:en
|
Chris@1601
|
31 ENV LC_ALL en_US.UTF-8
|
Chris@1601
|
32 RUN git clone https://github.com/sandstorm-io/capnproto
|
Chris@1601
|
33 WORKDIR capnproto/c++
|
Chris@1601
|
34 RUN ./setup-autotools.sh && autoreconf -i
|
Chris@1601
|
35 RUN ./configure --enable-static --disable-shared
|
Chris@1601
|
36 RUN make && make install
|
Chris@1601
|
37 WORKDIR ../..
|
Chris@1634
|
38 RUN hg clone -rsv_v3.0 https://code.soundsoftware.ac.uk/hg/sonic-visualiser
|
Chris@1601
|
39 WORKDIR sonic-visualiser
|
Chris@1601
|
40 RUN ./configure
|
Chris@1601
|
41 RUN make -j3
|
Chris@1634
|
42 RUN deploy/linux/deploy-deb.sh 3.0 amd64
|
Chris@1601
|
43 RUN tar cvf output.tar *.deb && cp output.tar ..
|