Mercurial > hg > tony
annotate deploy/linux/docker/Dockerfile_appimage.in @ 631:22724d007706 v2.1pre1
Remove 32-bit Windows package for simpler maintenance
author | Chris Cannam |
---|---|
date | Thu, 10 Oct 2019 14:56:47 +0100 |
parents | 40cc49380398 |
children |
rev | line source |
---|---|
Chris@612 | 1 FROM ubuntu:14.04 |
Chris@612 | 2 MAINTAINER Chris Cannam <cannam@all-day-breakfast.com> |
Chris@612 | 3 RUN apt-get update && \ |
Chris@612 | 4 apt-get install -y \ |
Chris@612 | 5 software-properties-common \ |
Chris@612 | 6 build-essential \ |
Chris@612 | 7 libbz2-dev \ |
Chris@612 | 8 libfftw3-dev \ |
Chris@612 | 9 libfishsound1-dev \ |
Chris@612 | 10 libid3tag0-dev \ |
Chris@612 | 11 liblo-dev \ |
Chris@612 | 12 liblrdf0-dev \ |
Chris@612 | 13 libmad0-dev \ |
Chris@612 | 14 liboggz2-dev \ |
Chris@612 | 15 libopus-dev \ |
Chris@612 | 16 libopusfile-dev \ |
Chris@612 | 17 libpulse-dev \ |
Chris@612 | 18 libasound2-dev \ |
Chris@612 | 19 libjack-dev \ |
Chris@612 | 20 libsamplerate-dev \ |
Chris@612 | 21 libsndfile-dev \ |
Chris@612 | 22 libsord-dev \ |
Chris@612 | 23 libxml2-utils \ |
Chris@612 | 24 libboost-all-dev \ |
Chris@612 | 25 libgl1-mesa-dev \ |
Chris@612 | 26 raptor-utils \ |
Chris@612 | 27 librubberband-dev \ |
Chris@612 | 28 git \ |
Chris@612 | 29 mercurial \ |
Chris@612 | 30 curl wget \ |
Chris@612 | 31 mlton \ |
Chris@612 | 32 autoconf automake libtool lintian |
Chris@612 | 33 |
Chris@612 | 34 # NB we do not install portaudio. We don't want to end up including it |
Chris@612 | 35 # in the bundle, because it comes with a dependency on the JACK |
Chris@612 | 36 # library which we don't want to bundle and can't assume people will |
Chris@612 | 37 # have. However, we do install JACK because the Dynamic JACK mechanism |
Chris@612 | 38 # should ensure we can detect, configure, and use that without |
Chris@612 | 39 # actually linking against it. We also have Pulse as the default I/O. |
Chris@612 | 40 |
Chris@612 | 41 RUN apt-add-repository -y ppa:beineri/opt-qt-5.10.1-trusty |
Chris@612 | 42 RUN apt-get update && \ |
Chris@612 | 43 apt-get install -y \ |
Chris@612 | 44 qt510base \ |
Chris@612 | 45 qt510svg |
Chris@612 | 46 RUN apt-get clean && rm -rf /var/lib/apt/lists/* |
Chris@612 | 47 |
Chris@612 | 48 RUN locale-gen en_US.UTF-8 |
Chris@612 | 49 ENV LANG en_US.UTF-8 |
Chris@612 | 50 ENV LANGUAGE en_US:en |
Chris@612 | 51 ENV LC_ALL en_US.UTF-8 |
Chris@612 | 52 |
Chris@612 | 53 RUN hg clone -r[[REVISION]] https://code.soundsoftware.ac.uk/hg/tony |
Chris@612 | 54 |
Chris@612 | 55 WORKDIR /root |
Chris@612 | 56 |
Chris@612 | 57 COPY id_rsa_build .ssh/id_rsa_build |
Chris@612 | 58 COPY known_hosts .ssh/known_hosts |
Chris@612 | 59 RUN chmod 600 .ssh/id_rsa_build .ssh/known_hosts |
Chris@612 | 60 RUN echo '{"accounts": {"sourcehut": "~breakfastquay"}}' > .repoint.json |
Chris@612 | 61 RUN ( echo '[ui]' ; echo 'ssh = ssh -i /root/.ssh/id_rsa_build' ) > .hgrc |
Chris@612 | 62 |
Chris@612 | 63 WORKDIR /tony |
Chris@612 | 64 ENV QTDIR /opt/qt510 |
Chris@612 | 65 ENV PATH /opt/qt510/bin:$PATH |
Chris@612 | 66 RUN ./configure |
Chris@612 | 67 RUN make -j3 |
Chris@612 | 68 |
Chris@612 | 69 RUN deploy/linux/deploy-appimage.sh |
Chris@612 | 70 RUN tar cvf output-appimage.tar *.AppImage && cp output-appimage.tar .. |