changeset 530:6a0cd0a2bf65 c++11-mutex

Update Docker build
author Chris Cannam
date Tue, 22 Oct 2019 12:22:41 +0100
parents 57053d1ba746
children 347ad7d3527c
files build/docker/Dockerfile_v2.9_ubuntu1604
diffstat 1 files changed, 27 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/build/docker/Dockerfile_v2.9_ubuntu1604	Tue Oct 22 12:22:41 2019 +0100
@@ -0,0 +1,27 @@
+FROM ubuntu:16.04
+MAINTAINER Chris Cannam <cannam@all-day-breakfast.com>
+RUN apt-get update && \
+    apt-get install -y \
+    locales \
+    build-essential \
+    libsndfile-dev \
+    git \
+    mercurial
+RUN gcc --version
+RUN apt-get clean && rm -rf /var/lib/apt/lists/*
+RUN locale-gen en_US.UTF-8
+ENV LANG en_US.UTF-8  
+ENV LANGUAGE en_US:en  
+ENV LC_ALL en_US.UTF-8
+RUN hg clone -r57053d1ba746 https://code.soundsoftware.ac.uk/hg/vamp-plugin-sdk
+RUN hg clone https://code.soundsoftware.ac.uk/hg/vamp-test-plugin
+WORKDIR vamp-plugin-sdk
+RUN ./configure && make
+WORKDIR ../vamp-test-plugin
+RUN make -f Makefile.linux
+WORKDIR ../vamp-plugin-sdk
+RUN test/run-test-plugin-regression.sh
+RUN mkdir vamp-plugin-sdk-2.9.0-binaries-amd64-linux
+RUN cp libvamp-sdk.a libvamp-hostsdk.a examples/vamp-example-plugins.so host/vamp-simple-host rdf/generator/vamp-rdf-template-generator vamp-plugin-sdk-2.9.0-binaries-amd64-linux
+RUN tar cvzf vamp-plugin-sdk-2.9.0-binaries-amd64-linux.tar.gz vamp-plugin-sdk-2.9.0-binaries-amd64-linux
+RUN tar cvf output.tar *.tar.gz && cp output.tar ..