annotate deploy/linux/docker/Dockerfile_deb.in @ 2116:f69819b5c248

Experimental Docker deb package build
author Chris Cannam
date Wed, 21 Nov 2018 11:25:43 +0000
parents
children 914ddb643616
rev   line source
Chris@2116 1 # This pulls the latest versions of capnp & SV from repos - so you
Chris@2116 2 # will need to defeat the Docker cache by destroying the container
Chris@2116 3 # each time you want to update it
Chris@2116 4 #
Chris@2116 5 FROM ubuntu:14.04
Chris@2116 6 MAINTAINER Chris Cannam <cannam@all-day-breakfast.com>
Chris@2116 7 RUN apt-get update && \
Chris@2116 8 apt-get install -y \
Chris@2116 9 software-properties-common \
Chris@2116 10 build-essential \
Chris@2116 11 libbz2-dev \
Chris@2116 12 libfftw3-dev \
Chris@2116 13 libfishsound1-dev \
Chris@2116 14 libid3tag0-dev \
Chris@2116 15 liblo-dev \
Chris@2116 16 liblrdf0-dev \
Chris@2116 17 libmad0-dev \
Chris@2116 18 liboggz2-dev \
Chris@2116 19 libpulse-dev \
Chris@2116 20 libasound2-dev \
Chris@2116 21 libjack-dev \
Chris@2116 22 libsamplerate-dev \
Chris@2116 23 libsndfile-dev \
Chris@2116 24 libsord-dev \
Chris@2116 25 libxml2-utils \
Chris@2116 26 libgl1-mesa-dev \
Chris@2116 27 raptor-utils \
Chris@2116 28 librubberband-dev \
Chris@2116 29 portaudio19-dev \
Chris@2116 30 qt5-default libqt5svg5-dev \
Chris@2116 31 git \
Chris@2116 32 mercurial \
Chris@2116 33 curl wget \
Chris@2116 34 mlton \
Chris@2116 35 autoconf automake libtool lintian
Chris@2116 36
Chris@2116 37 RUN apt-get clean && rm -rf /var/lib/apt/lists/*
Chris@2116 38
Chris@2116 39 RUN locale-gen en_US.UTF-8
Chris@2116 40 ENV LANG en_US.UTF-8
Chris@2116 41 ENV LANGUAGE en_US:en
Chris@2116 42 ENV LC_ALL en_US.UTF-8
Chris@2116 43
Chris@2116 44 RUN hg clone -r[[REVISION]] https://code.soundsoftware.ac.uk/hg/sonic-visualiser
Chris@2116 45
Chris@2116 46 RUN git clone https://github.com/sandstorm-io/capnproto
Chris@2116 47 WORKDIR capnproto
Chris@2116 48 RUN git checkout v0.6.1
Chris@2116 49 WORKDIR c++
Chris@2116 50 RUN autoreconf -i && ./configure && make -j3 && make install
Chris@2116 51
Chris@2116 52 WORKDIR ../../sonic-visualiser
Chris@2116 53 RUN ./configure
Chris@2116 54 RUN make -j3
Chris@2116 55
Chris@2116 56 RUN deploy/linux/deploy-deb.sh [[RELEASE]]cc1-1 amd64
Chris@2116 57 RUN tar cvf output-deb.tar *.deb && cp output-deb.tar ..