comparison deploy/linux/docker/Dockerfile_appimage.in @ 1971:7496836f8f27 c++14

Attempt to update AppImage and Travis build files for c++14
author Chris Cannam
date Fri, 31 Aug 2018 11:45:51 +0100
parents 25b49a378431
children be5496ec5f97
comparison
equal deleted inserted replaced
1970:25b49a378431 1971:7496836f8f27
40 # actually linking against it. We also have Pulse as the default I/O. 40 # actually linking against it. We also have Pulse as the default I/O.
41 41
42 RUN apt-add-repository -y ppa:beineri/opt-qt-5.10.1-trusty 42 RUN apt-add-repository -y ppa:beineri/opt-qt-5.10.1-trusty
43 RUN apt-get update && \ 43 RUN apt-get update && \
44 apt-get install -y \ 44 apt-get install -y \
45 g++-4.9 \
45 qt510base \ 46 qt510base \
46 qt510svg 47 qt510svg
47 RUN apt-get clean && rm -rf /var/lib/apt/lists/* 48 RUN apt-get clean && rm -rf /var/lib/apt/lists/*
49
50 RUN for x in g++ gcc gcc-ar gcc-nm gcc-ranlib ; do ln -sf /usr/bin/$x-4.9 /usr/bin/$x ; ln -sf /usr/bin/x86_64-linux-gnu-gcc-$x-4.9 /usr/bin/x86_64-linux-gnu-gcc-$x ; done
51
48 RUN locale-gen en_US.UTF-8 52 RUN locale-gen en_US.UTF-8
49 ENV LANG en_US.UTF-8 53 ENV LANG en_US.UTF-8
50 ENV LANGUAGE en_US:en 54 ENV LANGUAGE en_US:en
51 ENV LC_ALL en_US.UTF-8 55 ENV LC_ALL en_US.UTF-8
56
52 RUN hg clone -r[[REVISION]] https://code.soundsoftware.ac.uk/hg/sonic-visualiser 57 RUN hg clone -r[[REVISION]] https://code.soundsoftware.ac.uk/hg/sonic-visualiser
58
53 RUN git clone https://github.com/sandstorm-io/capnproto 59 RUN git clone https://github.com/sandstorm-io/capnproto
54 WORKDIR capnproto 60 WORKDIR capnproto
55 RUN git checkout v0.7.0 61 RUN git checkout v0.7.0
56 WORKDIR c++ 62 WORKDIR c++
57 RUN ./setup-autotools.sh && autoreconf -i && ./configure && make -j3 && make install 63 RUN autoreconf -i && ./configure && make -j3 && make install
64
58 WORKDIR ../../sonic-visualiser 65 WORKDIR ../../sonic-visualiser
59 ENV QTDIR /opt/qt510 66 ENV QTDIR /opt/qt510
60 ENV PATH /opt/qt510/bin:$PATH 67 ENV PATH /opt/qt510/bin:$PATH
61 RUN ./configure 68 RUN ./configure
62 RUN make -j3 69 RUN make -j3
70
63 RUN deploy/linux/deploy-appimage.sh 71 RUN deploy/linux/deploy-appimage.sh
64 RUN tar cvf output.tar *.AppImage && cp output.tar .. 72 RUN tar cvf output.tar *.AppImage && cp output.tar ..