couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rnew...@apache.org
Subject couchdb commit: updated refs/heads/master to 5e5e378
Date Thu, 12 May 2016 17:12:35 GMT
Repository: couchdb
Updated Branches:
  refs/heads/master 44a646597 -> 5e5e378e7


update Dockerfile to debian jessie

* no need for backports
* rebar is built by ./configure
* useradd -m already creates home dir


Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/5e5e378e
Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/5e5e378e
Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/5e5e378e

Branch: refs/heads/master
Commit: 5e5e378e7cc857beab85ad10c0558c43aaea7399
Parents: 44a6465
Author: Damjan Georgievski <gdamjan@gmail.com>
Authored: Thu May 12 16:48:27 2016 +0200
Committer: Damjan Georgievski <gdamjan@gmail.com>
Committed: Thu May 12 16:48:27 2016 +0200

----------------------------------------------------------------------
 Dockerfile | 18 +-----------------
 1 file changed, 1 insertion(+), 17 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb/blob/5e5e378e/Dockerfile
----------------------------------------------------------------------
diff --git a/Dockerfile b/Dockerfile
index 27fa00d..774d856 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,9 +1,8 @@
-FROM debian:wheezy
+FROM debian:jessie
 MAINTAINER Robert Newson <rnewson@apache.org>
 ENV DEBIAN_FRONTEND noninteractive
 
 # Configure backports
-RUN echo "deb http://http.debian.net/debian wheezy-backports main" >> /etc/apt/sources.list
 RUN apt-get -qq update
 
 # Install prereqs
@@ -18,24 +17,9 @@ RUN apt-get --no-install-recommends -y install \
     libmozjs185-dev \
     python
 
-# Build rebar
-RUN useradd -m rebar
-USER rebar
-WORKDIR /home/rebar
-RUN curl -L https://github.com/rebar/rebar/archive/2.5.0.tar.gz | tar zxf -
-WORKDIR /home/rebar/rebar-2.5.0
-RUN ./bootstrap
-USER root
-RUN cp rebar /usr/local/bin/
-RUN chmod 755 /usr/local/bin/rebar
-
 # Build couchdb
 RUN useradd -m couchdb
-RUN mkdir -p /home/couchdb
 ADD . /home/couchdb
-USER root
-RUN chown -R couchdb:couchdb /home/couchdb
-USER couchdb
 WORKDIR /home/couchdb
 
 # We don't to be so strict for simple testing.


Mime
View raw message