annotate build/docker/Dockerfile_v2.7.1_ubuntu1604 @ 525:8c18bdaad04f c++11-mutex

Avoid simple static allocation of mutex, as it could lead to mutex being destroyed before last adapter that needs to use it (since adapters are usually also static)
author Chris Cannam
date Mon, 09 Sep 2019 10:24:13 +0100
parents 2432a915e1d1
children
rev   line source
Chris@518 1 FROM ubuntu:16.04
Chris@518 2 MAINTAINER Chris Cannam <cannam@all-day-breakfast.com>
Chris@518 3 RUN apt-get update && \
Chris@518 4 apt-get install -y \
Chris@518 5 build-essential \
Chris@518 6 libsndfile-dev \
Chris@518 7 git \
Chris@518 8 mercurial
Chris@518 9 RUN gcc --version
Chris@518 10 RUN apt-get clean && rm -rf /var/lib/apt/lists/*
Chris@518 11 RUN locale-gen en_US.UTF-8
Chris@518 12 ENV LANG en_US.UTF-8
Chris@518 13 ENV LANGUAGE en_US:en
Chris@518 14 ENV LC_ALL en_US.UTF-8
Chris@518 15 RUN git clone --branch vamp-plugin-sdk-v2.7.1 https://github.com/c4dm/vamp-plugin-sdk
Chris@518 16 RUN hg clone https://code.soundsoftware.ac.uk/hg/vamp-test-plugin
Chris@518 17 WORKDIR vamp-plugin-sdk
Chris@518 18 RUN ./configure && make
Chris@518 19 WORKDIR ../vamp-test-plugin
Chris@518 20 RUN make -f Makefile.linux
Chris@518 21 WORKDIR ../vamp-plugin-sdk
Chris@518 22 RUN test/run-test-plugin-regression.sh
Chris@518 23 RUN mkdir vamp-plugin-sdk-2.7.1-binaries-amd64-gcc5-linux
Chris@518 24 RUN cp libvamp-sdk.a libvamp-hostsdk.a host/vamp-simple-host rdf/generator/vamp-rdf-template-generator vamp-plugin-sdk-2.7.1-binaries-amd64-gcc5-linux
Chris@518 25 RUN tar cvzf vamp-plugin-sdk-2.7.1-binaries-amd64-gcc5-linux.tar.gz vamp-plugin-sdk-2.7.1-binaries-amd64-gcc5-linux
Chris@518 26 RUN tar cvf output.tar *.tar.gz && cp output.tar ..