Repository: couchdb-docker Updated Branches: refs/heads/master ab6b0b5f7 -> fe82d8781
couchperuser: verify checksum Project: http://git-wip-us.apache.org/repos/asf/couchdb-docker/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-docker/commit/b06aac8a Tree: http://git-wip-us.apache.org/repos/asf/couchdb-docker/tree/b06aac8a Diff: http://git-wip-us.apache.org/repos/asf/couchdb-docker/diff/b06aac8a Branch: refs/heads/master Commit: b06aac8a202023228b7572e654675dfbf79540f5 Parents: ab6b0b5 Author: klaemo <[email protected]> Authored: Wed Feb 3 00:37:01 2016 +0100 Committer: klaemo <[email protected]> Committed: Wed Feb 3 00:37:01 2016 +0100 ---------------------------------------------------------------------- 1.6.1-couchperuser/Dockerfile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/couchdb-docker/blob/b06aac8a/1.6.1-couchperuser/Dockerfile ---------------------------------------------------------------------- diff --git a/1.6.1-couchperuser/Dockerfile b/1.6.1-couchperuser/Dockerfile index ed2c5fe..27dfbbd 100644 --- a/1.6.1-couchperuser/Dockerfile +++ b/1.6.1-couchperuser/Dockerfile @@ -14,9 +14,14 @@ FROM klaemo/couchdb:1.6.1 MAINTAINER Clemens Stolle [email protected] +ENV COUCHPERUSER_SHA 5d28db3272eea9619d4391b33aae6030f0319ecc54aa2a2f2b6c6a8d448f03f2 RUN apt-get update && apt-get install -y rebar make \ && mkdir -p /usr/local/lib/couchdb/plugins/couchperuser \ - && cd /usr/local/lib/couchdb/plugins/couchperuser \ - && curl -L https://github.com/etrepum/couchperuser/archive/1.1.0.tar.gz | tar -xz --strip-components=1 \ + && cd /usr/local/lib/couchdb/plugins \ + && curl -L -o couchperuser.tar.gz https://github.com/etrepum/couchperuser/archive/1.1.0.tar.gz \ + && echo "$COUCHPERUSER_SHA *couchperuser.tar.gz" | sha256sum -c - \ + && tar -xzf couchperuser.tar.gz -C couchperuser --strip-components=1 \ + && rm couchperuser.tar.gz \ + && cd couchperuser \ && make \ && apt-get purge -y --auto-remove rebar make
