[beast: 2/4] MISC: Dockerfile-apt.in: do ci build against newest Rapicorn from source



commit d669105c802fe139a0354634ffdb266a8ee28298
Author: Tim Janik <timj gnu org>
Date:   Fri Jun 16 00:08:39 2017 +0200

    MISC: Dockerfile-apt.in: do ci build against newest Rapicorn from source
    
    Signed-off-by: Tim Janik <timj gnu org>

 misc/Dockerfile-apt.in |   27 ++++++++++++++++++---------
 1 files changed, 18 insertions(+), 9 deletions(-)
---
diff --git a/misc/Dockerfile-apt.in b/misc/Dockerfile-apt.in
index cb44e22..410763e 100644
--- a/misc/Dockerfile-apt.in
+++ b/misc/Dockerfile-apt.in
@@ -41,18 +41,27 @@ RUN retry apt-get install -y \
     nodejs-legacy npm imagemagick
 ENV BINTRAY_REPO       "@BINTRAY_REPO@"
 ENV DISTRELEASE                "@DISTRELEASE@"
-# Install Rapicorn
-RUN echo "deb [trusted=yes] https://dl.bintray.com/$BINTRAY_REPO $DISTRELEASE main" | \
-       tee /etc/apt/sources.list.d/bintray-source-line.list && \
-    retry apt-get update && \
-    retry apt-get install -y rapicorn && \
-    rm /etc/apt/sources.list.d/bintray-source-line.list && \
-    retry apt-get update
 
-# Setup build environment and provide the git repository
+# Setup build environment and provide the git repositories
 ENV PROJECT    @PROJECT@
 ENV EMAIL      beast gnome org
 COPY tmp-mirror.git /tmp/$PROJECT.git
+
+# Build and install latest Rapicorn
+RUN retry apt-get install -y \
+    build-essential devscripts lintian automake autoconf autoconf-archive libtool intltool \
+    doxygen graphviz texlive-binaries pandoc git libxml2-utils \
+    bison flex cython xvfb \
+    librsvg2-dev libpango1.0-dev python2.7-dev libxml2-dev libreadline6-dev \
+    libreadline-dev python-all-dev python-enum34
+RUN cd /usr/src/ && \
+    retry git clone --depth=1 https://github.com/tim-janik/rapicorn.git
+RUN cd /usr/src/rapicorn/ && \
+    nice ./autogen.sh --prefix=/usr && \
+    nice make -j`nproc` && \
+    nice make install
+
+# Build project
 RUN cd /usr/src/ && \
     git clone /tmp/$PROJECT.git
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]