annotate deploy/linux/docker/Dockerfile_v1.5_ubuntu1604 @ 371:a0ff34e9e86b

First cut at Linux AppImage
author Chris Cannam
date Fri, 05 Jun 2020 11:08:37 +0100
parents 929e37acf0d9
children
rev   line source
Chris@300 1 FROM ubuntu:16.04
Chris@300 2 MAINTAINER Chris Cannam <cannam@all-day-breakfast.com>
Chris@300 3 RUN apt-get update && \
Chris@300 4 apt-get install -y \
Chris@300 5 build-essential \
Chris@300 6 libbz2-dev \
Chris@300 7 libfftw3-dev \
Chris@300 8 libfishsound1-dev \
Chris@300 9 libid3tag0-dev \
Chris@300 10 liblo-dev \
Chris@300 11 liblrdf0-dev \
Chris@300 12 libmad0-dev \
Chris@300 13 liboggz2-dev \
Chris@300 14 libpulse-dev \
Chris@300 15 libsamplerate-dev \
Chris@300 16 libsndfile-dev \
Chris@300 17 libsord-dev \
Chris@300 18 libxml2-utils \
Chris@300 19 portaudio19-dev \
Chris@300 20 qt5-default libqt5svg5-dev \
Chris@300 21 raptor-utils \
Chris@300 22 librubberband-dev \
Chris@300 23 git \
Chris@300 24 mercurial \
Chris@300 25 curl wget \
Chris@300 26 yajl-tools \
Chris@300 27 autoconf automake libtool lintian
Chris@300 28 RUN apt-get clean && rm -rf /var/lib/apt/lists/*
Chris@300 29 RUN locale-gen en_US.UTF-8
Chris@300 30 ENV LANG en_US.UTF-8
Chris@300 31 ENV LANGUAGE en_US:en
Chris@300 32 ENV LC_ALL en_US.UTF-8
Chris@300 33 RUN hg clone https://code.soundsoftware.ac.uk/hg/vamp-plugin-sdk
Chris@300 34 RUN hg clone https://code.soundsoftware.ac.uk/hg/vamp-test-plugin
Chris@300 35 WORKDIR vamp-plugin-sdk
Chris@300 36 RUN ./configure
Chris@300 37 RUN make -j3
Chris@300 38 RUN mkdir ~/vamp
Chris@300 39 RUN cp examples/vamp-example-plugins.so ~/vamp/
Chris@300 40 WORKDIR ../vamp-test-plugin
Chris@300 41 RUN make -f Makefile.linux
Chris@300 42 RUN cp vamp-test-plugin.so ~/vamp/
Chris@301 43 WORKDIR ..
Chris@301 44 RUN hg clone -rsonic-annotator-1.5 https://code.soundsoftware.ac.uk/hg/sonic-annotator
Chris@301 45 WORKDIR sonic-annotator
Chris@300 46 RUN ./configure
Chris@300 47 RUN make -j3
Chris@300 48 RUN deploy/linux/deploy-deb.sh 1.5 amd64
Chris@300 49 RUN tar cvf output.tar *.deb && cp output.tar ..