--- /dev/null
+Return-Path: <pit@shgn.de>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+ by arlo.cworth.org (Postfix) with ESMTP id 6F9F46DE0ACD\r
+ for <notmuch@notmuchmail.org>; Fri, 19 Aug 2016 07:30:06 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at cworth.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 1.632\r
+X-Spam-Level: *\r
+X-Spam-Status: No, score=1.632 tagged_above=-999 required=5\r
+ tests=[RCVD_IN_BRBL_LASTEXT=1.644, SPF_HELO_PASS=-0.001,\r
+ SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=disabled\r
+Received: from arlo.cworth.org ([127.0.0.1])\r
+ by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)\r
+ with ESMTP id qmtS2ep7W3_F for <notmuch@notmuchmail.org>;\r
+ Fri, 19 Aug 2016 07:30:04 -0700 (PDT)\r
+X-Greylist: delayed 1607 seconds by postgrey-1.35 at arlo;\r
+ Fri, 19 Aug 2016 07:30:04 PDT\r
+Received: from shgn.de (shgn.de [37.48.87.41])\r
+ by arlo.cworth.org (Postfix) with ESMTPS id 2F9406DE0A89\r
+ for <notmuch@notmuchmail.org>; Fri, 19 Aug 2016 07:30:04 -0700 (PDT)\r
+Received: from ritchie.offis.uni-oldenburg.de ([134.106.53.254]\r
+ helo=pipc.ddns.lcl)\r
+ by shgn.de with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)\r
+ (Exim 4.84_2) (envelope-from <pit@shgn.de>)\r
+ id 1bakOB-000537-SZ; Fri, 19 Aug 2016 16:03:16 +0200\r
+From: Philipp Ittershagen <pit@shgn.de>\r
+To: Tomi Ollila <tomi.ollila@iki.fi>, notmuch@notmuchmail.org\r
+Subject: Re: [RFC PATCH] test: add devel/test-in-docker.sh\r
+In-Reply-To: <m2d1l427hf.fsf@guru.guru-group.fi>\r
+References: <1471381671-21134-1-git-send-email-tomi.ollila@iki.fi>\r
+ <m2d1l427hf.fsf@guru.guru-group.fi>\r
+User-Agent: Notmuch/0.22.1 (http://notmuchmail.org) Emacs/24.5.1\r
+ (x86_64-pc-linux-gnu)\r
+Date: Fri, 19 Aug 2016 16:03:15 +0200\r
+Message-ID: <8760qwc0v0.fsf@pipc.ddns.lcl>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain; charset=utf-8\r
+Content-Transfer-Encoding: quoted-printable\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.22\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+ <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <https://notmuchmail.org/mailman/options/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch/>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <https://notmuchmail.org/mailman/listinfo/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Fri, 19 Aug 2016 14:30:06 -0000\r
+\r
+Tomi Ollila <tomi.ollila@iki.fi> writes:\r
+\r
+> On Wed, Aug 17 2016, Tomi Ollila <tomi.ollila@iki.fi> wrote:\r
+>\r
+>> With this user can try and test notmuch in docker container,\r
+>> in fixed environment where it should compile and tests should pass...\r
+>>\r
+>> Currently provided container environments are Debian 8.5 and\r
+>> Ubuntu 16.04 based. Host OS could be any Linux environment with\r
+>> modern enough docker; Perhaps this works on macOS (with docker 1.12+)\r
+>> too (in Windows this script probably fails).\r
+>> ---\r
+>>\r
+>> Currently quite a few tests FAIL -- due to missing prerequisite tests.\r
+>> It would be easy to add some packages, like gdb, emacs(-nox), dtach,\r
+>> but I left those out just to tease you >;)\r
+>>\r
+>\r
+> There are 2 problems in this script\r
+>\r
+> 1) If the initial docker images (ubuntu:16.04 or debian:8.5) are not\r
+> pulled before docker build started, using sha256 hash of the docker\r
+> image doesn't work as the initial image where to start building on.\r
+>\r
+> 2) Surprisingly(*) ubuntu:16.03 sha256 has changed from\r
+> 42118e3df429f09ca581a9deb3df274601930e428e452f7e4e9f1833c56a100a to=20\r
+> f8d79ba03c00bbcd8079cf05b7526ac8f4f422744aad8c3747a29a38ed8c4a41\r
+> between 2016-08-15 (mon) and 2016-08-19 (fri).\r
+>\r
+> So, currently `docker pull debian:8.5` and then\r
+> `./test-in-docker debian8` should work. If ubuntu:16.04 was pulled early\r
+> enough `./test-in-docker ubuntu1604` would work (too).\r
+>\r
+> The next version (which I probably do sometime in distant future, when I\r
+> have time to enchange tests (before that I try to do some reviews!)) will\r
+> probably work the opposite way -- use name:tag as source and after build\r
+> spit a (friendly) WARNING if the hash of the initial image has changed\r
+> in-between.\r
+>\r
+>\r
+> (*) or perhaps not so surprisingly -- anyway it is unfortunate that these\r
+> images are not so ephemeral as one would wish for...\r
+>\r
+>\r
+> Tomi\r
+> _______________________________________________\r
+> notmuch mailing list\r
+> notmuch@notmuchmail.org\r
+> https://notmuchmail.org/mailman/listinfo/notmuch\r
+\r
+--=20\r
+Philipp Ittershagen\r
+Senior Researcher\r
+\r
+OFFIS e.V. - Institut f=C3=BCr Informatik\r
+FuE Berech Verkehr | R&D Division Transportation\r
+Escherweg 2 - 26121 Oldenburg - Germany\r
+Phone/Fax: +49 441 9722-715 / -278\r
+E-Mail: philipp.ittershagen@offis.de\r
+URL: http://www.offis.de/\r
+\r
+Registergericht: Amtsgericht Oldenburg VR 1956\r
+Vorstand: Prof. Dr.-Ing. Wolfgang H. Nebel (Vorsitzender),\r
+ Prof. Dr. techn. Susanne Boll-Westermann,\r
+ Prof. Dr. Werner Damm, Prof. Dr.-Ing. Andreas Hein,\r
+ Prof. Dr. Sebastian Lehnhoff\r