comparison deploy/linux/docker/Dockerfile_appimage_tip @ 1910:310670d04abe

Add docker file for appimage build
author Chris Cannam
date Fri, 29 Jun 2018 10:53:35 +0100
parents
children 3513d7ff5ad9
comparison
equal deleted inserted replaced
1909:12b96d6b1d66 1910:310670d04abe
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 libsamplerate-dev \
21 libsndfile-dev \
22 libsord-dev \
23 libxml2-utils \
24 libgl1-mesa-dev \
25 portaudio19-dev \
26 raptor-utils \
27 librubberband-dev \
28 git \
29 mercurial \
30 curl wget \
31 mlton \
32 autoconf automake libtool lintian
33 RUN apt-add-repository -y ppa:beineri/opt-qt-5.10.1-trusty
34 RUN apt-get update && \
35 apt-get install -y \
36 qt510base \
37 qt510svg
38 RUN apt-get clean && rm -rf /var/lib/apt/lists/*
39 RUN locale-gen en_US.UTF-8
40 ENV LANG en_US.UTF-8
41 ENV LANGUAGE en_US:en
42 ENV LC_ALL en_US.UTF-8
43 RUN git clone https://github.com/sandstorm-io/capnproto
44 WORKDIR capnproto/c++
45 RUN ./setup-autotools.sh && autoreconf -i && ./configure && make && make install
46 WORKDIR ../..
47 RUN hg clone https://code.soundsoftware.ac.uk/hg/sonic-visualiser
48 WORKDIR sonic-visualiser
49 ENV QTDIR /opt/qt510
50 ENV PATH /opt/qt510/bin:$PATH
51 RUN ./configure
52 RUN make -j3
53 RUN deploy/linux/deploy-appimage.sh
54 RUN tar cvf output.tar *.AppImage && cp output.tar ..