Re: [atomic-devel] ostree-docker-builder

2015-10-09 Thread Ben Parees
On Fri, Oct 9, 2015 at 3:25 AM, Clayton Coleman wrote: > Ben, are there things we can do to make it easier for new builder > types (beyond custom)? Agree it's a lot of work. > > ​undoubtedly, though i think the first question we need to answer is whether we want to make it easier to add more fir

Re: [atomic-devel] ostree-docker-builder

2015-10-09 Thread Giuseppe Scrivano
Clayton Coleman writes: > This looks really clean Giuseppe - we should write it up as a blog > post for others to try, and add the image to the origin DockerHub > namespace. What limitations does it have? I am not sure if something is missing there. I have based it on origin/images/builder/doc

Re: [atomic-devel] ostree-docker-builder

2015-10-08 Thread Clayton Coleman
Ben, are there things we can do to make it easier for new builder types (beyond custom)? Agree it's a lot of work. This looks really clean Giuseppe - we should write it up as a blog post for others to try, and add the image to the origin DockerHub namespace. What limitations does it have? > On

Re: [atomic-devel] ostree-docker-builder

2015-10-07 Thread Giuseppe Scrivano
Giuseppe Scrivano writes: > Should it be less invasive and perhaps use ostree-docker-builder through > the "Custom Builder Image" strategy instead? This is a custom docker builder that uses OSTree to create the container: https://github.com/giuseppe/ostree-custom-docker-builder/ Regards, Giuse

Re: [atomic-devel] ostree-docker-builder

2015-10-06 Thread Giuseppe Scrivano
Clayton Coleman writes: > Can we get this into Openshift as a new builder strategy / or source? > It's an excellent story for non-root builds. I have looked a bit into adding a new builder and it doesn't look like a trivial task. Should it be less invasive and perhaps use ostree-docker-builder

Re: [atomic-devel] ostree-docker-builder

2015-10-01 Thread Giuseppe Scrivano
Hi Clayton, thanks for the feedback, I am going to look into this. Regards, Giuseppe Clayton Coleman writes: > Can we get this into Openshift as a new builder strategy / or source? > It's an excellent story for non-root builds. > >> On Sep 30, 2015, at 9:01 PM, Giuseppe Scrivano wrote: >> >

Re: [atomic-devel] ostree-docker-builder

2015-09-30 Thread Clayton Coleman
Can we get this into Openshift as a new builder strategy / or source? It's an excellent story for non-root builds. > On Sep 30, 2015, at 9:01 PM, Giuseppe Scrivano wrote: > > Hello, > > I was experimenting for fun with creating Docker images using rpm-ostree > instead of "docker build". rpm-ostr

[atomic-devel] ostree-docker-builder

2015-09-30 Thread Giuseppe Scrivano
Hello, I was experimenting for fun with creating Docker images using rpm-ostree instead of "docker build". rpm-ostree already supports it, and it can be specified in the .json file setting the "container" flag to true. The generated tree can be tarred and imported directly into Docker. I wrote a