forked from vamp-plugins/vamp-plugin-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
27 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
FROM ubuntu:16.04 | ||
MAINTAINER Chris Cannam <[email protected]> | ||
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 -rvamp-plugin-sdk-v2.10 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.10.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.10.0-binaries-amd64-linux | ||
RUN tar cvzf vamp-plugin-sdk-2.10.0-binaries-amd64-linux.tar.gz vamp-plugin-sdk-2.10.0-binaries-amd64-linux | ||
RUN tar cvf output.tar *.tar.gz && cp output.tar .. |