Mercurial > hg > sonic-visualiser
annotate deploy/linux/docker/Dockerfile_deb.in @ 2390:1f392d58ee88
Towards single-script packaging
author | Chris Cannam |
---|---|
date | Mon, 21 Oct 2019 10:55:15 +0100 |
parents | 6845d7dafebf |
children | 32718f05903d |
rev | line source |
---|---|
Chris@2116 | 1 FROM ubuntu:14.04 |
Chris@2116 | 2 MAINTAINER Chris Cannam <cannam@all-day-breakfast.com> |
Chris@2116 | 3 RUN apt-get update && \ |
Chris@2116 | 4 apt-get install -y \ |
Chris@2116 | 5 software-properties-common \ |
Chris@2116 | 6 build-essential \ |
Chris@2116 | 7 libbz2-dev \ |
Chris@2116 | 8 libfftw3-dev \ |
Chris@2116 | 9 libfishsound1-dev \ |
Chris@2116 | 10 libid3tag0-dev \ |
Chris@2116 | 11 liblo-dev \ |
Chris@2116 | 12 liblrdf0-dev \ |
Chris@2116 | 13 libmad0-dev \ |
Chris@2116 | 14 liboggz2-dev \ |
Chris@2266 | 15 libopus-dev \ |
Chris@2266 | 16 libopusfile-dev \ |
Chris@2116 | 17 libpulse-dev \ |
Chris@2116 | 18 libasound2-dev \ |
Chris@2116 | 19 libjack-dev \ |
Chris@2116 | 20 libsamplerate-dev \ |
Chris@2116 | 21 libsndfile-dev \ |
Chris@2116 | 22 libsord-dev \ |
Chris@2116 | 23 libxml2-utils \ |
Chris@2116 | 24 libgl1-mesa-dev \ |
Chris@2116 | 25 raptor-utils \ |
Chris@2116 | 26 librubberband-dev \ |
Chris@2116 | 27 portaudio19-dev \ |
Chris@2116 | 28 qt5-default libqt5svg5-dev \ |
Chris@2116 | 29 git \ |
Chris@2116 | 30 mercurial \ |
Chris@2116 | 31 curl wget \ |
Chris@2116 | 32 mlton \ |
Chris@2116 | 33 autoconf automake libtool lintian |
Chris@2116 | 34 |
Chris@2116 | 35 RUN apt-get clean && rm -rf /var/lib/apt/lists/* |
Chris@2116 | 36 |
Chris@2116 | 37 RUN locale-gen en_US.UTF-8 |
Chris@2116 | 38 ENV LANG en_US.UTF-8 |
Chris@2116 | 39 ENV LANGUAGE en_US:en |
Chris@2116 | 40 ENV LC_ALL en_US.UTF-8 |
Chris@2116 | 41 |
Chris@2116 | 42 RUN hg clone -r[[REVISION]] https://code.soundsoftware.ac.uk/hg/sonic-visualiser |
Chris@2116 | 43 |
Chris@2116 | 44 RUN git clone https://github.com/sandstorm-io/capnproto |
Chris@2116 | 45 WORKDIR capnproto |
Chris@2116 | 46 RUN git checkout v0.6.1 |
Chris@2116 | 47 WORKDIR c++ |
Chris@2120 | 48 RUN autoreconf -i && ./configure --enable-shared=no --enable-static=yes && make -j3 && make install |
Chris@2116 | 49 |
Chris@2144 | 50 WORKDIR /root |
Chris@2144 | 51 |
Chris@2353 | 52 COPY id_rsa_build .ssh/id_rsa_build |
Chris@2144 | 53 COPY known_hosts .ssh/known_hosts |
Chris@2353 | 54 RUN chmod 600 .ssh/id_rsa_build .ssh/known_hosts |
Chris@2353 | 55 RUN echo '{"accounts": {"sourcehut": "~breakfastquay"}}' > .repoint.json |
Chris@2353 | 56 RUN ( echo '[ui]' ; echo 'ssh = ssh -i /root/.ssh/id_rsa_build' ) > .hgrc |
Chris@2144 | 57 |
Chris@2209 | 58 RUN rm -f /usr/lib/x86_64-linux-gnu/librubberband.so* |
Chris@2209 | 59 |
Chris@2144 | 60 WORKDIR /sonic-visualiser |
Chris@2116 | 61 RUN ./configure |
Chris@2116 | 62 RUN make -j3 |
Chris@2116 | 63 |
Chris@2119 | 64 RUN deploy/linux/deploy-deb.sh [[RELEASE]] amd64 |
Chris@2116 | 65 RUN tar cvf output-deb.tar *.deb && cp output-deb.tar .. |