annotate deploy/linux/docker/Dockerfile_v3.0.3_ubuntu1604 @ 2265:d33dff02b39b sandbox-notarize

Work on sandboxing (possibly) and using the hardened runtime for notarization. Supply appropriate bundle ID for helpers as well as main application, and request inherited sandbox entitlements. Currently works with sandboxing (apparently) but not yet with the hardened runtime, where we can't load plugins signed by third parties even with the com.apple.security.cs.disable-library-validation entitlement because their team IDs don't match the host. Possibly that exception is supposed to be requested some other way?
author Chris Cannam
date Thu, 25 Apr 2019 16:46:02 +0100
parents 5a6068ba6c24
children
rev   line source
Chris@1700 1 FROM ubuntu:16.04
Chris@1700 2 MAINTAINER Chris Cannam <cannam@all-day-breakfast.com>
Chris@1700 3 RUN apt-get update && \
Chris@1700 4 apt-get install -y \
Chris@1700 5 build-essential \
Chris@1700 6 libbz2-dev \
Chris@1700 7 libfftw3-dev \
Chris@1700 8 libfishsound1-dev \
Chris@1700 9 libid3tag0-dev \
Chris@1700 10 liblo-dev \
Chris@1700 11 liblrdf0-dev \
Chris@1700 12 libmad0-dev \
Chris@1700 13 liboggz2-dev \
Chris@1700 14 libpulse-dev \
Chris@1700 15 libsamplerate-dev \
Chris@1700 16 libsndfile-dev \
Chris@1700 17 libsord-dev \
Chris@1700 18 libxml2-utils \
Chris@1700 19 portaudio19-dev \
Chris@1700 20 qt5-default libqt5svg5-dev \
Chris@1700 21 raptor-utils \
Chris@1700 22 librubberband-dev \
Chris@1700 23 git \
Chris@1700 24 mercurial \
Chris@1700 25 curl wget \
Chris@1700 26 autoconf automake libtool lintian
Chris@1700 27 RUN apt-get clean && rm -rf /var/lib/apt/lists/*
Chris@1700 28 RUN locale-gen en_US.UTF-8
Chris@1700 29 ENV LANG en_US.UTF-8
Chris@1700 30 ENV LANGUAGE en_US:en
Chris@1700 31 ENV LC_ALL en_US.UTF-8
Chris@1700 32 RUN curl -L -o capnproto-v0.6.0.tar.gz https://github.com/sandstorm-io/capnproto/archive/v0.6.0.tar.gz
Chris@1700 33 RUN tar xf capnproto-v0.6.0.tar.gz
Chris@1700 34 WORKDIR capnproto-0.6.0/c++
Chris@1700 35 RUN autoreconf -i
Chris@1700 36 RUN ./configure --enable-static --disable-shared
Chris@1700 37 RUN make && make install
Chris@1700 38 WORKDIR ../..
Chris@1701 39 RUN hg clone -rsv_v3.0.3 https://code.soundsoftware.ac.uk/hg/sonic-visualiser
Chris@1700 40 WORKDIR sonic-visualiser
Chris@1700 41 RUN ./configure
Chris@1700 42 RUN make -j3
Chris@1701 43 RUN deploy/linux/deploy-deb.sh 3.0.3 amd64
Chris@1700 44 RUN tar cvf output.tar *.deb && cp output.tar ..