comparison build/docker/Dockerfile_v2.10_ubuntu1604 @ 540:fa74c473e48c vamp-plugin-sdk-v2.10

Build file for 2.10 package
author Chris Cannam
date Mon, 18 May 2020 10:57:41 +0100
parents
children
comparison
equal deleted inserted replaced
539:15a89a89aa9b 540:fa74c473e48c
1 FROM ubuntu:16.04
2 MAINTAINER Chris Cannam <cannam@all-day-breakfast.com>
3 RUN apt-get update && \
4 apt-get install -y \
5 locales \
6 build-essential \
7 libsndfile-dev \
8 git \
9 mercurial
10 RUN gcc --version
11 RUN apt-get clean && rm -rf /var/lib/apt/lists/*
12 RUN locale-gen en_US.UTF-8
13 ENV LANG en_US.UTF-8
14 ENV LANGUAGE en_US:en
15 ENV LC_ALL en_US.UTF-8
16 RUN hg clone -rvamp-plugin-sdk-v2.10 https://code.soundsoftware.ac.uk/hg/vamp-plugin-sdk
17 RUN hg clone https://code.soundsoftware.ac.uk/hg/vamp-test-plugin
18 WORKDIR vamp-plugin-sdk
19 RUN ./configure && make
20 WORKDIR ../vamp-test-plugin
21 RUN make -f Makefile.linux
22 WORKDIR ../vamp-plugin-sdk
23 RUN test/run-test-plugin-regression.sh
24 RUN mkdir vamp-plugin-sdk-2.10.0-binaries-amd64-linux
25 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.10.0-binaries-amd64-linux
26 RUN tar cvzf vamp-plugin-sdk-2.10.0-binaries-amd64-linux.tar.gz vamp-plugin-sdk-2.10.0-binaries-amd64-linux
27 RUN tar cvf output.tar *.tar.gz && cp output.tar ..