annotate deploy/linux/docker/Dockerfile_appimage.in @ 372:df443955119c

Fix syntax error
author Chris Cannam
date Fri, 05 Jun 2020 11:09:12 +0100
parents a0ff34e9e86b
children 5fafd07e86d7
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@371 27 git \
Chris@371 28 mercurial \
Chris@371 29 curl wget \
Chris@371 30 mlton \
Chris@371 31 autoconf automake libtool lintian
Chris@371 32
Chris@371 33 RUN apt-add-repository -y ppa:beineri/opt-qt-5.10.1-trusty
Chris@371 34 RUN apt-get update && \
Chris@371 35 apt-get install -y \
Chris@371 36 qt510base \
Chris@371 37 qt510svg
Chris@371 38 RUN apt-get clean && rm -rf /var/lib/apt/lists/*
Chris@371 39
Chris@371 40 RUN locale-gen en_US.UTF-8
Chris@371 41 ENV LANG en_US.UTF-8
Chris@371 42 ENV LANGUAGE en_US:en
Chris@371 43 ENV LC_ALL en_US.UTF-8
Chris@371 44
Chris@371 45 RUN hg clone -r[[REVISION]] https://code.soundsoftware.ac.uk/hg/sonic-annotator
Chris@371 46
Chris@371 47 RUN git config --global http.postBuffer 4M
Chris@371 48
Chris@371 49 WORKDIR /root
Chris@371 50
Chris@371 51 COPY id_rsa_build .ssh/id_rsa_build
Chris@371 52 COPY known_hosts .ssh/known_hosts
Chris@371 53 RUN chmod 600 .ssh/id_rsa_build .ssh/known_hosts
Chris@371 54 RUN echo '{"accounts": {"sourcehut": "~breakfastquay"}}' > .repoint.json
Chris@371 55 RUN ( echo '[ui]' ; echo 'ssh = ssh -i /root/.ssh/id_rsa_build' ) > .hgrc
Chris@371 56
Chris@371 57 WORKDIR /sonic-annotator
Chris@371 58 ENV QTDIR /opt/qt510
Chris@371 59 ENV PATH /opt/qt510/bin:$PATH
Chris@371 60 RUN ./configure
Chris@371 61 RUN make -j3
Chris@371 62
Chris@371 63 RUN deploy/linux/deploy-appimage.sh
Chris@371 64 RUN tar cvf output-appimage.tar *.AppImage && cp output-appimage.tar ..