diff 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
line wrap: on
line diff
--- a/deploy/linux/docker/Dockerfile_appimage.in	Fri Aug 31 10:15:16 2018 +0100
+++ b/deploy/linux/docker/Dockerfile_appimage.in	Fri Aug 31 11:45:51 2018 +0100
@@ -42,23 +42,31 @@
 RUN apt-add-repository -y ppa:beineri/opt-qt-5.10.1-trusty
 RUN apt-get update && \
     apt-get install -y \
+    g++-4.9 \
     qt510base \
     qt510svg
 RUN apt-get clean && rm -rf /var/lib/apt/lists/*
+
+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
+
 RUN locale-gen en_US.UTF-8
 ENV LANG en_US.UTF-8  
 ENV LANGUAGE en_US:en  
 ENV LC_ALL en_US.UTF-8
+
 RUN hg clone -r[[REVISION]] https://code.soundsoftware.ac.uk/hg/sonic-visualiser
+
 RUN git clone https://github.com/sandstorm-io/capnproto
 WORKDIR capnproto
 RUN git checkout v0.7.0
 WORKDIR c++
-RUN ./setup-autotools.sh && autoreconf -i && ./configure && make -j3 && make install
+RUN autoreconf -i && ./configure && make -j3 && make install
+
 WORKDIR ../../sonic-visualiser
 ENV QTDIR /opt/qt510
 ENV PATH /opt/qt510/bin:$PATH
 RUN ./configure
 RUN make -j3
+
 RUN deploy/linux/deploy-appimage.sh
 RUN tar cvf output.tar *.AppImage && cp output.tar ..