Chris@2116: # This pulls the latest versions of capnp & SV from repos - so you Chris@2116: # will need to defeat the Docker cache by destroying the container Chris@2116: # each time you want to update it Chris@2116: # Chris@2116: FROM ubuntu:14.04 Chris@2116: MAINTAINER Chris Cannam Chris@2116: RUN apt-get update && \ Chris@2116: apt-get install -y \ Chris@2116: software-properties-common \ Chris@2116: build-essential \ Chris@2116: libbz2-dev \ Chris@2116: libfftw3-dev \ Chris@2116: libfishsound1-dev \ Chris@2116: libid3tag0-dev \ Chris@2116: liblo-dev \ Chris@2116: liblrdf0-dev \ Chris@2116: libmad0-dev \ Chris@2116: liboggz2-dev \ Chris@2116: libpulse-dev \ Chris@2116: libasound2-dev \ Chris@2116: libjack-dev \ Chris@2116: libsamplerate-dev \ Chris@2116: libsndfile-dev \ Chris@2116: libsord-dev \ Chris@2116: libxml2-utils \ Chris@2116: libgl1-mesa-dev \ Chris@2116: raptor-utils \ Chris@2116: librubberband-dev \ Chris@2116: portaudio19-dev \ Chris@2116: qt5-default libqt5svg5-dev \ Chris@2116: git \ Chris@2116: mercurial \ Chris@2116: curl wget \ Chris@2116: mlton \ Chris@2116: autoconf automake libtool lintian Chris@2116: Chris@2116: RUN apt-get clean && rm -rf /var/lib/apt/lists/* Chris@2116: Chris@2116: RUN locale-gen en_US.UTF-8 Chris@2116: ENV LANG en_US.UTF-8 Chris@2116: ENV LANGUAGE en_US:en Chris@2116: ENV LC_ALL en_US.UTF-8 Chris@2116: Chris@2116: RUN hg clone -r[[REVISION]] https://code.soundsoftware.ac.uk/hg/sonic-visualiser Chris@2116: Chris@2116: RUN git clone https://github.com/sandstorm-io/capnproto Chris@2116: WORKDIR capnproto Chris@2116: RUN git checkout v0.6.1 Chris@2116: WORKDIR c++ Chris@2120: RUN autoreconf -i && ./configure --enable-shared=no --enable-static=yes && make -j3 && make install Chris@2116: Chris@2144: WORKDIR /root Chris@2144: Chris@2144: COPY id_dsa_build .ssh/id_dsa_build Chris@2144: COPY known_hosts .ssh/known_hosts Chris@2144: RUN chmod 600 .ssh/id_dsa_build .ssh/known_hosts Chris@2144: RUN echo '{"accounts": {"bitbucket": "cannam"}}' > .repoint.json Chris@2144: RUN ( echo '[ui]' ; echo 'ssh = ssh -i /root/.ssh/id_dsa_build' ) > .hgrc Chris@2144: Chris@2144: WORKDIR /sonic-visualiser Chris@2116: RUN ./configure Chris@2116: RUN make -j3 Chris@2116: Chris@2119: RUN deploy/linux/deploy-deb.sh [[RELEASE]] amd64 Chris@2116: RUN tar cvf output-deb.tar *.deb && cp output-deb.tar ..