comparison deploy/linux/docker/Dockerfile_v1.5_ubuntu1604 @ 301:929e37acf0d9 sonic-annotator-1.5

Reorder to reduce number of reinstalled things when version is updated
author Chris Cannam
date Thu, 25 May 2017 14:30:54 +0100
parents 7dd6795af5e6
children
comparison
equal deleted inserted replaced
300:7dd6795af5e6 301:929e37acf0d9
28 RUN apt-get clean && rm -rf /var/lib/apt/lists/* 28 RUN apt-get clean && rm -rf /var/lib/apt/lists/*
29 RUN locale-gen en_US.UTF-8 29 RUN locale-gen en_US.UTF-8
30 ENV LANG en_US.UTF-8 30 ENV LANG en_US.UTF-8
31 ENV LANGUAGE en_US:en 31 ENV LANGUAGE en_US:en
32 ENV LC_ALL en_US.UTF-8 32 ENV LC_ALL en_US.UTF-8
33 RUN hg clone -rsonic-annotator-1.5 https://code.soundsoftware.ac.uk/hg/sonic-annotator
34 RUN hg clone https://code.soundsoftware.ac.uk/hg/vamp-plugin-sdk 33 RUN hg clone https://code.soundsoftware.ac.uk/hg/vamp-plugin-sdk
35 RUN hg clone https://code.soundsoftware.ac.uk/hg/vamp-test-plugin 34 RUN hg clone https://code.soundsoftware.ac.uk/hg/vamp-test-plugin
36 WORKDIR vamp-plugin-sdk 35 WORKDIR vamp-plugin-sdk
37 RUN ./configure 36 RUN ./configure
38 RUN make -j3 37 RUN make -j3
39 RUN mkdir ~/vamp 38 RUN mkdir ~/vamp
40 RUN cp examples/vamp-example-plugins.so ~/vamp/ 39 RUN cp examples/vamp-example-plugins.so ~/vamp/
41 WORKDIR ../vamp-test-plugin 40 WORKDIR ../vamp-test-plugin
42 RUN make -f Makefile.linux 41 RUN make -f Makefile.linux
43 RUN cp vamp-test-plugin.so ~/vamp/ 42 RUN cp vamp-test-plugin.so ~/vamp/
44 WORKDIR ../sonic-annotator 43 WORKDIR ..
44 RUN hg clone -rsonic-annotator-1.5 https://code.soundsoftware.ac.uk/hg/sonic-annotator
45 WORKDIR sonic-annotator
45 RUN ./configure 46 RUN ./configure
46 RUN make -j3 47 RUN make -j3
47 RUN deploy/linux/deploy-deb.sh 1.5 amd64 48 RUN deploy/linux/deploy-deb.sh 1.5 amd64
48 RUN tar cvf output.tar *.deb && cp output.tar .. 49 RUN tar cvf output.tar *.deb && cp output.tar ..