Re: [PATCH 6/6] Add dockerfile

2016-08-22 Thread Dmitry Monakhov
Theodore Ts'o writes: > On Sun, Aug 21, 2016 at 03:02:38PM +0300, Dmitry Monakhov wrote: >> Probably it it reasonable to create dedicated directory ./docker >> and place all docker related crap there: >> # build scripts >> docker/Dockerfile.build-env >> docker/Dockerfile.run-env >> # And some run

Re: [PATCH 6/6] Add dockerfile

2016-08-21 Thread Theodore Ts'o
On Sun, Aug 21, 2016 at 03:02:38PM +0300, Dmitry Monakhov wrote: > Probably it it reasonable to create dedicated directory ./docker > and place all docker related crap there: > # build scripts > docker/Dockerfile.build-env > docker/Dockerfile.run-env > # And some run scripts > # Build all environme

Re: [PATCH 6/6] Add dockerfile

2016-08-21 Thread Theodore Ts'o
On Sun, Aug 21, 2016 at 03:02:38PM +0300, Dmitry Monakhov wrote: > Definitely. But in your case we still need jessie64's chroot. > It should be prepared somehow. My point is that if we give an automated build > script this may help people to start with xfstests with less pain. > In my experience ti

Re: [PATCH 6/6] Add dockerfile

2016-08-21 Thread Dmitry Monakhov
Theodore Ts'o writes: > On Sat, Aug 20, 2016 at 02:31:26PM +0300, Dmitry Monakhov wrote: >> > I'm not sure I see the advantage of doing this in a container, I >> > guess. I just do in my standard laptop environment today. >> I can not because I laptop from famous thinkpad t430 series with >> fla

Re: [PATCH 6/6] Add dockerfile

2016-08-20 Thread Theodore Ts'o
Ok, I've checked in a Dockerfile into the xfstests-bld repository, and played with it some, and I have a couple of observations: First of all, despite some work cleaning up the Dockerfile, the resulting image is somewhere between 150% and 200% larger than what it would be if we build root_fs.img o

Re: [PATCH 6/6] Add dockerfile

2016-08-20 Thread Theodore Ts'o
On Sat, Aug 20, 2016 at 02:31:26PM +0300, Dmitry Monakhov wrote: > > I'm not sure I see the advantage of doing this in a container, I > > guess. I just do in my standard laptop environment today. > I can not because I laptop from famous thinkpad t430 series with > flaky SSD which starts to return

Re: [PATCH 6/6] Add dockerfile

2016-08-20 Thread Dmitry Monakhov
Theodore Ts'o writes: > On Fri, Aug 19, 2016 at 12:27:43PM +0300, Dmitry Monakhov wrote: >> Actually main idea is to have build environment for xfstests-bld development >> plus automatic builds gives us CI. This is important because >> xfstests-blk build is silently broken since May 30 due to 82c

Re: [PATCH 6/6] Add dockerfile

2016-08-19 Thread Theodore Ts'o
On Fri, Aug 19, 2016 at 12:27:43PM +0300, Dmitry Monakhov wrote: > Actually main idea is to have build environment for xfstests-bld development > plus automatic builds gives us CI. This is important because > xfstests-blk build is silently broken since May 30 due to 82c3a179 > (fix proposed: > htt

Re: [PATCH 6/6] Add dockerfile

2016-08-19 Thread Dmitry Monakhov
Theodore Ts'o writes: > On Fri, Aug 19, 2016 at 12:54:11AM +0400, Dmitry Monakhov wrote: >> Dockerfile is good way to create build environments >> Let's keep it as a reference build script. >> >> XXX: Currently Ted does not have hub.docker account >> so this docker file points to my hub. Sh