annotate deploy/linux/docker/Dockerfile_appimage.in @ 373:5fafd07e86d7

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