comparison deploy/linux/docker/Dockerfile_appimage.in @ 371:a0ff34e9e86b

First cut at Linux AppImage
author Chris Cannam
date Fri, 05 Jun 2020 11:08:37 +0100
parents
children 5fafd07e86d7
comparison
equal deleted inserted replaced
370:3e0133aa2354 371:a0ff34e9e86b
1 FROM ubuntu:14.04
2 MAINTAINER Chris Cannam <cannam@all-day-breakfast.com>
3 RUN apt-get update && \
4 apt-get install -y \
5 software-properties-common \
6 build-essential \
7 libbz2-dev \
8 libfftw3-dev \
9 libfishsound1-dev \
10 libid3tag0-dev \
11 liblo-dev \
12 liblrdf0-dev \
13 libmad0-dev \
14 liboggz2-dev \
15 libopus-dev \
16 libopusfile-dev \
17 libpulse-dev \
18 libasound2-dev \
19 libjack-dev \
20 libsamplerate-dev \
21 libsndfile-dev \
22 libsord-dev \
23 libxml2-utils \
24 libgl1-mesa-dev \
25 raptor-utils \
26 librubberband-dev \
27 git \
28 mercurial \
29 curl wget \
30 mlton \
31 autoconf automake libtool lintian
32
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
40 RUN locale-gen en_US.UTF-8
41 ENV LANG en_US.UTF-8
42 ENV LANGUAGE en_US:en
43 ENV LC_ALL en_US.UTF-8
44
45 RUN hg clone -r[[REVISION]] https://code.soundsoftware.ac.uk/hg/sonic-annotator
46
47 RUN git config --global http.postBuffer 4M
48
49 WORKDIR /root
50
51 COPY id_rsa_build .ssh/id_rsa_build
52 COPY known_hosts .ssh/known_hosts
53 RUN chmod 600 .ssh/id_rsa_build .ssh/known_hosts
54 RUN echo '{"accounts": {"sourcehut": "~breakfastquay"}}' > .repoint.json
55 RUN ( echo '[ui]' ; echo 'ssh = ssh -i /root/.ssh/id_rsa_build' ) > .hgrc
56
57 WORKDIR /sonic-annotator
58 ENV QTDIR /opt/qt510
59 ENV PATH /opt/qt510/bin:$PATH
60 RUN ./configure
61 RUN make -j3
62
63 RUN deploy/linux/deploy-appimage.sh
64 RUN tar cvf output-appimage.tar *.AppImage && cp output-appimage.tar ..