Mercurial > hg > vamp-plugin-sdk
annotate build/docker/Dockerfile_v2.7_ubuntu1604 @ 500:4a86f866bb6b
The PluginRateExtractor hack was exploiting undefined behaviour. Let's just give in and make that API official
author | Chris Cannam |
---|---|
date | Mon, 11 Dec 2017 13:22:11 +0000 |
parents | 124752918a1b |
children |
rev | line source |
---|---|
Chris@491 | 1 FROM ubuntu:16.04 |
Chris@491 | 2 MAINTAINER Chris Cannam <cannam@all-day-breakfast.com> |
Chris@491 | 3 RUN apt-get update && \ |
Chris@491 | 4 apt-get install -y \ |
Chris@491 | 5 build-essential \ |
Chris@491 | 6 libsndfile-dev \ |
Chris@491 | 7 git \ |
Chris@491 | 8 mercurial |
Chris@491 | 9 RUN gcc --version |
Chris@491 | 10 RUN apt-get clean && rm -rf /var/lib/apt/lists/* |
Chris@491 | 11 RUN locale-gen en_US.UTF-8 |
Chris@491 | 12 ENV LANG en_US.UTF-8 |
Chris@491 | 13 ENV LANGUAGE en_US:en |
Chris@491 | 14 ENV LC_ALL en_US.UTF-8 |
Chris@491 | 15 RUN git clone --branch vamp-plugin-sdk-v2.7 https://github.com/c4dm/vamp-plugin-sdk |
Chris@491 | 16 RUN hg clone https://code.soundsoftware.ac.uk/hg/vamp-test-plugin |
Chris@491 | 17 WORKDIR vamp-plugin-sdk |
Chris@491 | 18 RUN ./configure && make |
Chris@491 | 19 WORKDIR ../vamp-test-plugin |
Chris@491 | 20 RUN make -f Makefile.linux |
Chris@491 | 21 WORKDIR ../vamp-plugin-sdk |
Chris@491 | 22 RUN test/run-test-plugin-regression.sh |
Chris@491 | 23 RUN mkdir vamp-plugin-sdk-2.7-binaries-amd64-gcc5-linux |
Chris@491 | 24 RUN cp libvamp-sdk.a libvamp-hostsdk.a host/vamp-simple-host rdf/generator/vamp-rdf-template-generator vamp-plugin-sdk-2.7-binaries-amd64-gcc5-linux |
Chris@491 | 25 RUN tar cvzf vamp-plugin-sdk-2.7-binaries-amd64-gcc5-linux.tar.gz vamp-plugin-sdk-2.7-binaries-amd64-gcc5-linux |
Chris@491 | 26 RUN tar cvf output.tar *.tar.gz && cp output.tar .. |