teamhephy / builder

MIT License
3 stars 12 forks source link

Feature Request: Ability to skip Dockerfile builds #10

Open Cryptophobia opened 6 years ago

Cryptophobia commented 6 years ago

From @scottrobertson on April 28, 2017 18:56

Apologies if this is not in the correct format for a feature request.

Recently I have been trying to deploy an open source project to Deis that contains a Dockerfile. I would love a way to have Deis skip the Dockerfile deployment, and just revert back to standard build packs. There are a few reasons for this:

My hacky solution right now is just to create a deis branch, remove the Dockerfile and push that to deis. Merging master into that branch as i need to update.

Copied from original issue: deis/builder#512

Cryptophobia commented 6 years ago

From @bacongobbler on April 28, 2017 18:59

I think we could check if DEIS_BUILD_TYPE=buildpack|dockerfile is present in the environment via config:set. That way users have a way to enforce one type or another. Less black magic is nice. 👍

Cryptophobia commented 6 years ago

From @scottrobertson on April 28, 2017 19:0

That would be a nice and simple solution :)