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