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