gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [gnunet] branch master updated: docker: build gnurl from re


From: gnunet
Subject: [GNUnet-SVN] [gnunet] branch master updated: docker: build gnurl from release tarball intead of git
Date: Tue, 01 Jan 2019 20:12:42 +0100

This is an automated email from the git hooks/post-receive script.

dvn pushed a commit to branch master
in repository gnunet.

The following commit(s) were added to refs/heads/master by this push:
     new 8ab07345e docker: build gnurl from release tarball intead of git
8ab07345e is described below

commit 8ab07345e1227c815db1de6404b29e616bbf065b
Author: Devan Carpenter <address@hidden>
AuthorDate: Tue Jan 1 13:11:06 2019 -0600

    docker: build gnurl from release tarball intead of git
    
    The git repo that was replaced by this commit, is currently not
    accessible. The preferred method of build gnurl is from release tarballs
    for now. There are also some minor fixes and reworking of paths in this
    commit.
---
 contrib/docker/Dockerfile | 21 ++++++++++-----------
 1 file changed, 10 insertions(+), 11 deletions(-)

diff --git a/contrib/docker/Dockerfile b/contrib/docker/Dockerfile
index 4fdd91f60..d1678a4a6 100644
--- a/contrib/docker/Dockerfile
+++ b/contrib/docker/Dockerfile
@@ -24,7 +24,8 @@ RUN apt-get update && \
       libgnutls28-dev \
       libgcrypt20-dev \
       libpq-dev \
-      libsqlite3-dev && \
+      libsqlite3-dev \
+      wget && \
     apt-get clean all && \
     apt-get -y autoremove && \
     rm -rf \
@@ -32,14 +33,12 @@ RUN apt-get update && \
       /tmp/*
 
 # Install GNUrl
-ENV GNURL_GIT_URL https://git.taler.net/gnurl.git
-ENV GNURL_GIT_BRANCH gnurl-7.57.0
+ENV GNURL_VERSION=7.57.0
 
-RUN git clone $GNURL_GIT_URL \
-      --branch $GNURL_GIT_BRANCH \
-      --depth=1 \
-      --quiet && \
-    cd /gnurl && \
+RUN wget -O /tmp/gnurl.tar.bz2 
https://gnunet.org/sites/default/files/gnurl-${GNURL_VERSION}.tar.bz2  
+RUN cd /tmp && \
+      tar xvf gnurl.tar.bz2 && \
+      cd gnurl-${GNURL_VERSION} && \
       autoreconf -i && \
       ./configure \
         --enable-ipv6 \
@@ -71,7 +70,7 @@ RUN git clone $GNURL_GIT_URL \
         --disable-smb && \
       make install && \
     cd - && \
-    rm -fr /gnurl
+    rm -rf /tmp/gnurl*
 
 # Install GNUnet
 ENV GNUNET_PREFIX /usr/local/gnunet
@@ -92,8 +91,8 @@ RUN cd /gnunet && \
     rm -fr /gnunet
 
 # Configure GNUnet
-COPY docker/gnunet.conf /etc/gnunet.conf
-COPY docker/docker-entrypoint.sh /usr/local/bin/docker-entrypoint
+COPY ./contrib/docker/gnunet.conf /etc/gnunet.conf
+COPY ./contrib/docker/docker-entrypoint.sh /usr/local/bin/docker-entrypoint
 RUN chmod 755 /usr/local/bin/docker-entrypoint
 
 ENV LOCAL_PORT_RANGE='40001 40200'

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]