rafecolton / docker-builder

Docker builder builds Docker images from a friendly config file.
MIT License
80 stars 11 forks source link

Support Dockerfile #127

Closed meatballhat closed 9 years ago

meatballhat commented 10 years ago

I don't know if it's a bug, but the current docker builder rejects repositories that do not contain a Bobfile even though they have a valid Dockerfile. I would expect docker builder have some sensible default mode when only a Dockerfile is present.

rafecolton commented 9 years ago

Added!

# invoke with
docker-builder build --force

# will run the equivalent of the following
docker build -t $(basename $(pwd)) .
meatballhat commented 9 years ago

Can this be automagical behavior when no Bobfile is detected instead of having to explicitly opt in?

rafecolton commented 9 years ago

Would it be sufficient to provide an environment variable that can be set to always enable this behavior?

meatballhat commented 9 years ago

eh ... what I really want is to be able to point any old repo that already has a valid Dockerfile at a docker-builder server without modification.

On Sun, Sep 21, 2014 at 11:55 PM, Rafe Colton notifications@github.com wrote:

Would it be sufficient to provide an environment variable that can be set to always enable this behavior?

— Reply to this email directly or view it on GitHub https://github.com/rafecolton/docker-builder/issues/127#issuecomment-56326520 .