annotate build/docker/Dockerfile_v2.9_ubuntu1604 @ 530:6a0cd0a2bf65 c++11-mutex

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