Mercurial > hg > vamp-plugin-sdk
comparison build/docker/Dockerfile_v2.7_ubuntu1404 @ 491:124752918a1b vamp-plugin-sdk-v2.7
Add Docker build scripts
author | Chris Cannam |
---|---|
date | Fri, 24 Feb 2017 15:45:50 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
490:703da7b180e8 | 491:124752918a1b |
---|---|
1 FROM ubuntu:14.04 | |
2 MAINTAINER Chris Cannam <cannam@all-day-breakfast.com> | |
3 RUN apt-get update && \ | |
4 apt-get install -y \ | |
5 build-essential \ | |
6 libsndfile-dev \ | |
7 git \ | |
8 mercurial | |
9 RUN gcc --version | |
10 RUN apt-get clean && rm -rf /var/lib/apt/lists/* | |
11 RUN locale-gen en_US.UTF-8 | |
12 ENV LANG en_US.UTF-8 | |
13 ENV LANGUAGE en_US:en | |
14 ENV LC_ALL en_US.UTF-8 | |
15 RUN git clone --branch vamp-plugin-sdk-v2.7 https://github.com/c4dm/vamp-plugin-sdk | |
16 RUN hg clone https://code.soundsoftware.ac.uk/hg/vamp-test-plugin | |
17 WORKDIR vamp-plugin-sdk | |
18 RUN ./configure && make | |
19 WORKDIR ../vamp-test-plugin | |
20 RUN make -f Makefile.linux | |
21 WORKDIR ../vamp-plugin-sdk | |
22 RUN test/run-test-plugin-regression.sh | |
23 RUN mkdir vamp-plugin-sdk-2.7-binaries-amd64-gcc4-linux | |
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-gcc4-linux | |
25 RUN tar cvzf vamp-plugin-sdk-2.7-binaries-amd64-gcc4-linux.tar.gz vamp-plugin-sdk-2.7-binaries-amd64-gcc4-linux | |
26 RUN tar cvf output.tar *.tar.gz && cp output.tar .. |