Chris@612: FROM ubuntu:14.04 Chris@612: MAINTAINER Chris Cannam Chris@612: RUN apt-get update && \ Chris@612: apt-get install -y \ Chris@612: software-properties-common \ Chris@612: build-essential \ Chris@612: libbz2-dev \ Chris@612: libfftw3-dev \ Chris@612: libfishsound1-dev \ Chris@612: libid3tag0-dev \ Chris@612: liblo-dev \ Chris@612: liblrdf0-dev \ Chris@612: libmad0-dev \ Chris@612: liboggz2-dev \ Chris@612: libopus-dev \ Chris@612: libopusfile-dev \ Chris@612: libpulse-dev \ Chris@612: libasound2-dev \ Chris@612: libjack-dev \ Chris@612: libsamplerate-dev \ Chris@612: libsndfile-dev \ Chris@612: libsord-dev \ Chris@612: libxml2-utils \ Chris@612: libboost-all-dev \ Chris@612: libgl1-mesa-dev \ Chris@612: raptor-utils \ Chris@612: librubberband-dev \ Chris@612: git \ Chris@612: mercurial \ Chris@612: curl wget \ Chris@612: mlton \ Chris@612: autoconf automake libtool lintian Chris@612: Chris@612: # NB we do not install portaudio. We don't want to end up including it Chris@612: # in the bundle, because it comes with a dependency on the JACK Chris@612: # library which we don't want to bundle and can't assume people will Chris@612: # have. However, we do install JACK because the Dynamic JACK mechanism Chris@612: # should ensure we can detect, configure, and use that without Chris@612: # actually linking against it. We also have Pulse as the default I/O. Chris@612: Chris@612: RUN apt-add-repository -y ppa:beineri/opt-qt-5.10.1-trusty Chris@612: RUN apt-get update && \ Chris@612: apt-get install -y \ Chris@612: qt510base \ Chris@612: qt510svg Chris@612: RUN apt-get clean && rm -rf /var/lib/apt/lists/* Chris@612: Chris@612: RUN locale-gen en_US.UTF-8 Chris@612: ENV LANG en_US.UTF-8 Chris@612: ENV LANGUAGE en_US:en Chris@612: ENV LC_ALL en_US.UTF-8 Chris@612: Chris@612: RUN hg clone -r[[REVISION]] https://code.soundsoftware.ac.uk/hg/tony Chris@612: Chris@612: WORKDIR /root Chris@612: Chris@612: COPY id_rsa_build .ssh/id_rsa_build Chris@612: COPY known_hosts .ssh/known_hosts Chris@612: RUN chmod 600 .ssh/id_rsa_build .ssh/known_hosts Chris@612: RUN echo '{"accounts": {"sourcehut": "~breakfastquay"}}' > .repoint.json Chris@612: RUN ( echo '[ui]' ; echo 'ssh = ssh -i /root/.ssh/id_rsa_build' ) > .hgrc Chris@612: Chris@612: WORKDIR /tony Chris@612: ENV QTDIR /opt/qt510 Chris@612: ENV PATH /opt/qt510/bin:$PATH Chris@612: RUN ./configure Chris@612: RUN make -j3 Chris@612: Chris@612: RUN deploy/linux/deploy-appimage.sh Chris@612: RUN tar cvf output-appimage.tar *.AppImage && cp output-appimage.tar ..