comparison deploy/linux/docker/Dockerfile_appimage.in @ 1924:6ec18c2566e7

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