Chris@622: FROM ubuntu:14.04 Chris@622: MAINTAINER Chris Cannam Chris@622: RUN apt-get update && \ Chris@622: apt-get install -y \ Chris@622: software-properties-common \ Chris@622: build-essential \ Chris@622: libbz2-dev \ Chris@622: libfftw3-dev \ Chris@622: libfishsound1-dev \ Chris@622: libid3tag0-dev \ Chris@622: liblo-dev \ Chris@622: liblrdf0-dev \ Chris@622: libmad0-dev \ Chris@622: liboggz2-dev \ Chris@622: libopus-dev \ Chris@622: libopusfile-dev \ Chris@622: libpulse-dev \ Chris@622: libasound2-dev \ Chris@622: libjack-dev \ Chris@622: libsamplerate-dev \ Chris@622: libsndfile-dev \ Chris@622: libsord-dev \ Chris@622: libxml2-utils \ Chris@623: libboost-all-dev \ Chris@622: libgl1-mesa-dev \ Chris@622: raptor-utils \ Chris@622: librubberband-dev \ Chris@622: portaudio19-dev \ Chris@622: qt5-default libqt5svg5-dev \ Chris@622: git \ Chris@622: mercurial \ Chris@622: curl wget \ Chris@622: mlton \ Chris@622: autoconf automake libtool lintian Chris@622: Chris@622: RUN apt-get clean && rm -rf /var/lib/apt/lists/* Chris@622: Chris@622: RUN locale-gen en_US.UTF-8 Chris@622: ENV LANG en_US.UTF-8 Chris@622: ENV LANGUAGE en_US:en Chris@622: ENV LC_ALL en_US.UTF-8 Chris@622: Chris@622: RUN hg clone -r[[REVISION]] https://code.soundsoftware.ac.uk/hg/tony Chris@622: Chris@622: WORKDIR /root Chris@622: Chris@622: COPY id_rsa_build .ssh/id_rsa_build Chris@622: COPY known_hosts .ssh/known_hosts Chris@622: RUN chmod 600 .ssh/id_rsa_build .ssh/known_hosts Chris@622: RUN echo '{"accounts": {"sourcehut": "~breakfastquay"}}' > .repoint.json Chris@622: RUN ( echo '[ui]' ; echo 'ssh = ssh -i /root/.ssh/id_rsa_build' ) > .hgrc Chris@622: Chris@622: RUN rm -f /usr/lib/x86_64-linux-gnu/librubberband.so* Chris@622: Chris@622: WORKDIR /tony Chris@622: RUN ./configure Chris@622: RUN make -j3 Chris@622: Chris@622: RUN deploy/linux/deploy-deb.sh [[RELEASE]] amd64 Chris@622: RUN tar cvf output-deb.tar *.deb && cp output-deb.tar ..