Chris@371: FROM ubuntu:14.04 Chris@371: MAINTAINER Chris Cannam Chris@371: RUN apt-get update && \ Chris@371: apt-get install -y \ Chris@371: software-properties-common \ Chris@371: build-essential \ Chris@371: libbz2-dev \ Chris@371: libfftw3-dev \ Chris@371: libfishsound1-dev \ Chris@371: libid3tag0-dev \ Chris@371: liblo-dev \ Chris@371: liblrdf0-dev \ Chris@371: libmad0-dev \ Chris@371: liboggz2-dev \ Chris@371: libopus-dev \ Chris@371: libopusfile-dev \ Chris@371: libpulse-dev \ Chris@371: libasound2-dev \ Chris@371: libjack-dev \ Chris@371: libsamplerate-dev \ Chris@371: libsndfile-dev \ Chris@371: libsord-dev \ Chris@371: libxml2-utils \ Chris@371: libgl1-mesa-dev \ Chris@371: raptor-utils \ Chris@371: librubberband-dev \ Chris@373: yajl-tools \ Chris@371: git \ Chris@371: mercurial \ Chris@371: curl wget \ Chris@371: mlton \ Chris@371: autoconf automake libtool lintian Chris@371: Chris@371: RUN apt-add-repository -y ppa:beineri/opt-qt-5.10.1-trusty Chris@371: RUN apt-get update && \ Chris@371: apt-get install -y \ Chris@371: qt510base \ Chris@371: qt510svg Chris@371: RUN apt-get clean && rm -rf /var/lib/apt/lists/* Chris@371: Chris@371: RUN locale-gen en_US.UTF-8 Chris@371: ENV LANG en_US.UTF-8 Chris@371: ENV LANGUAGE en_US:en Chris@371: ENV LC_ALL en_US.UTF-8 Chris@371: Chris@371: RUN hg clone -r[[REVISION]] https://code.soundsoftware.ac.uk/hg/sonic-annotator Chris@374: RUN hg clone https://code.soundsoftware.ac.uk/hg/vamp-plugin-sdk Chris@374: RUN hg clone https://code.soundsoftware.ac.uk/hg/vamp-test-plugin Chris@374: Chris@374: WORKDIR /vamp-plugin-sdk Chris@374: RUN ./configure --disable-programs Chris@374: RUN make plugins Chris@374: Chris@374: WORKDIR /vamp-test-plugin Chris@374: RUN make -f Makefile.linux Chris@374: Chris@374: ENV VAMP_PATH /vamp-plugin-sdk/examples:/vamp-test-plugin Chris@371: Chris@371: RUN git config --global http.postBuffer 4M Chris@371: Chris@371: WORKDIR /root Chris@371: Chris@371: COPY id_rsa_build .ssh/id_rsa_build Chris@371: COPY known_hosts .ssh/known_hosts Chris@371: RUN chmod 600 .ssh/id_rsa_build .ssh/known_hosts Chris@371: RUN echo '{"accounts": {"sourcehut": "~breakfastquay"}}' > .repoint.json Chris@371: RUN ( echo '[ui]' ; echo 'ssh = ssh -i /root/.ssh/id_rsa_build' ) > .hgrc Chris@371: Chris@371: WORKDIR /sonic-annotator Chris@371: ENV QTDIR /opt/qt510 Chris@371: ENV PATH /opt/qt510/bin:$PATH Chris@371: RUN ./configure Chris@371: RUN make -j3 Chris@371: Chris@371: RUN deploy/linux/deploy-appimage.sh Chris@371: RUN tar cvf output-appimage.tar *.AppImage && cp output-appimage.tar ..