Mercurial > hg > sonic-visualiser
annotate deploy/linux/docker/Dockerfile_appimage_tip @ 1922:b676ebebe74f
Without portaudio, we need this
author | Chris Cannam |
---|---|
date | Tue, 03 Jul 2018 12:51:10 +0100 |
parents | 3513d7ff5ad9 |
children |
rev | line source |
---|---|
Chris@1910 | 1 # This pulls the latest versions of capnp & SV from repos - so you |
Chris@1910 | 2 # will need to defeat the Docker cache by destroying the container |
Chris@1910 | 3 # each time you want to update it |
Chris@1910 | 4 # |
Chris@1910 | 5 FROM ubuntu:14.04 |
Chris@1910 | 6 MAINTAINER Chris Cannam <cannam@all-day-breakfast.com> |
Chris@1910 | 7 RUN apt-get update && \ |
Chris@1910 | 8 apt-get install -y \ |
Chris@1910 | 9 software-properties-common \ |
Chris@1910 | 10 build-essential \ |
Chris@1910 | 11 libbz2-dev \ |
Chris@1910 | 12 libfftw3-dev \ |
Chris@1910 | 13 libfishsound1-dev \ |
Chris@1910 | 14 libid3tag0-dev \ |
Chris@1910 | 15 liblo-dev \ |
Chris@1910 | 16 liblrdf0-dev \ |
Chris@1910 | 17 libmad0-dev \ |
Chris@1910 | 18 liboggz2-dev \ |
Chris@1910 | 19 libpulse-dev \ |
Chris@1922 | 20 libasound2-dev \ |
Chris@1910 | 21 libsamplerate-dev \ |
Chris@1910 | 22 libsndfile-dev \ |
Chris@1910 | 23 libsord-dev \ |
Chris@1910 | 24 libxml2-utils \ |
Chris@1910 | 25 libgl1-mesa-dev \ |
Chris@1910 | 26 raptor-utils \ |
Chris@1910 | 27 librubberband-dev \ |
Chris@1910 | 28 git \ |
Chris@1910 | 29 mercurial \ |
Chris@1910 | 30 curl wget \ |
Chris@1910 | 31 mlton \ |
Chris@1910 | 32 autoconf automake libtool lintian |
Chris@1921 | 33 |
Chris@1921 | 34 # NB we do not install portaudio because it comes with a dependency on |
Chris@1921 | 35 # the JACK library which we don't want to bundle and can't assume |
Chris@1921 | 36 # people will have. Instead we rely on Pulse and (dynamically-loaded) |
Chris@1921 | 37 # JACK support |
Chris@1921 | 38 |
Chris@1910 | 39 RUN apt-add-repository -y ppa:beineri/opt-qt-5.10.1-trusty |
Chris@1910 | 40 RUN apt-get update && \ |
Chris@1910 | 41 apt-get install -y \ |
Chris@1910 | 42 qt510base \ |
Chris@1910 | 43 qt510svg |
Chris@1910 | 44 RUN apt-get clean && rm -rf /var/lib/apt/lists/* |
Chris@1910 | 45 RUN locale-gen en_US.UTF-8 |
Chris@1910 | 46 ENV LANG en_US.UTF-8 |
Chris@1910 | 47 ENV LANGUAGE en_US:en |
Chris@1910 | 48 ENV LC_ALL en_US.UTF-8 |
Chris@1910 | 49 RUN git clone https://github.com/sandstorm-io/capnproto |
Chris@1910 | 50 WORKDIR capnproto/c++ |
Chris@1910 | 51 RUN ./setup-autotools.sh && autoreconf -i && ./configure && make && make install |
Chris@1910 | 52 WORKDIR ../.. |
Chris@1910 | 53 RUN hg clone https://code.soundsoftware.ac.uk/hg/sonic-visualiser |
Chris@1910 | 54 WORKDIR sonic-visualiser |
Chris@1910 | 55 ENV QTDIR /opt/qt510 |
Chris@1910 | 56 ENV PATH /opt/qt510/bin:$PATH |
Chris@1910 | 57 RUN ./configure |
Chris@1910 | 58 RUN make -j3 |
Chris@1910 | 59 RUN deploy/linux/deploy-appimage.sh |
Chris@1910 | 60 RUN tar cvf output.tar *.AppImage && cp output.tar .. |