annotate 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
rev   line source
Chris@540 1 FROM ubuntu:16.04
Chris@540 2 MAINTAINER Chris Cannam <cannam@all-day-breakfast.com>
Chris@540 3 RUN apt-get update && \
Chris@540 4 apt-get install -y \
Chris@540 5 locales \
Chris@540 6 build-essential \
Chris@540 7 libsndfile-dev \
Chris@540 8 git \
Chris@540 9 mercurial
Chris@540 10 RUN gcc --version
Chris@540 11 RUN apt-get clean && rm -rf /var/lib/apt/lists/*
Chris@540 12 RUN locale-gen en_US.UTF-8
Chris@540 13 ENV LANG en_US.UTF-8
Chris@540 14 ENV LANGUAGE en_US:en
Chris@540 15 ENV LC_ALL en_US.UTF-8
Chris@540 16 RUN hg clone -rvamp-plugin-sdk-v2.10 https://code.soundsoftware.ac.uk/hg/vamp-plugin-sdk
Chris@540 17 RUN hg clone https://code.soundsoftware.ac.uk/hg/vamp-test-plugin
Chris@540 18 WORKDIR vamp-plugin-sdk
Chris@540 19 RUN ./configure && make
Chris@540 20 WORKDIR ../vamp-test-plugin
Chris@540 21 RUN make -f Makefile.linux
Chris@540 22 WORKDIR ../vamp-plugin-sdk
Chris@540 23 RUN test/run-test-plugin-regression.sh
Chris@540 24 RUN mkdir vamp-plugin-sdk-2.10.0-binaries-amd64-linux
Chris@540 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
Chris@540 26 RUN tar cvzf vamp-plugin-sdk-2.10.0-binaries-amd64-linux.tar.gz vamp-plugin-sdk-2.10.0-binaries-amd64-linux
Chris@540 27 RUN tar cvf output.tar *.tar.gz && cp output.tar ..