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