Chris@1529: FROM ubuntu:16.04
Chris@1529: MAINTAINER Chris Cannam <cannam@all-day-breakfast.com>
Chris@1529: RUN apt-get update
Chris@1529: RUN apt-get install -y \
Chris@1529:     build-essential \
Chris@1529:     libbz2-dev \
Chris@1529:     libfftw3-dev \
Chris@1529:     libfishsound1-dev \
Chris@1529:     libid3tag0-dev \
Chris@1529:     liblo-dev \
Chris@1529:     liblrdf0-dev \
Chris@1529:     libmad0-dev \
Chris@1529:     liboggz2-dev \
Chris@1529:     libpulse-dev \
Chris@1529:     libsamplerate-dev \
Chris@1529:     libsndfile-dev \
Chris@1529:     libsord-dev \
Chris@1529:     libxml2-utils \
Chris@1529:     portaudio19-dev \
Chris@1529:     qt5-default libqt5svg5-dev \
Chris@1529:     raptor-utils \
Chris@1529:     librubberband-dev \
Chris@1529:     git \
Chris@1529:     mercurial \
Chris@1533:     curl wget \
Chris@1533:     autoconf automake libtool lintian
Chris@1529: RUN apt-get clean && rm -rf /var/lib/apt/lists/*
Chris@1529: RUN locale-gen en_US.UTF-8
Chris@1529: ENV LANG en_US.UTF-8  
Chris@1529: ENV LANGUAGE en_US:en  
Chris@1529: ENV LC_ALL en_US.UTF-8
Chris@1529: RUN git clone https://github.com/sandstorm-io/capnproto
Chris@1529: WORKDIR capnproto/c++
Chris@1529: RUN ./setup-autotools.sh && autoreconf -i 
Chris@1529: RUN ./configure --enable-static --disable-shared
Chris@1529: RUN make && make install
Chris@1529: WORKDIR ../..
Chris@1553: RUN hg clone -rsv_v3.0beta2 https://code.soundsoftware.ac.uk/hg/sonic-visualiser
Chris@1529: WORKDIR sonic-visualiser
Chris@1529: RUN ./configure
Chris@1529: RUN make -j3
Chris@1550: RUN deploy/linux/deploy-deb.sh 3.0beta2-1 amd64
Chris@1539: RUN tar cvf output.tar *.deb && cp output.tar ..