Skip to content

Commit a0494dd

Browse files
committed
feat(builder): select builder by adding DRYCC_BUILDER
1 parent 058371b commit a0494dd

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

src/applications/using-buildpacks.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,15 @@ and set `BUILDPACK_URL` to the URL:
147147
$ drycc config:set BUILDPACK_URL=git@github.com:user/private_buildpack.git
148148
$ git push drycc master
149149

150+
## Builder selector
151+
152+
Which way to build a project conforms to the following principles:
153+
154+
- If Dockerfile exists in the project, the builder uses `dockerbuilder`
155+
- If Procfile exists in the project, the builder uses `slugbuilder`
156+
- If both exist, dockerfile is used by default
157+
- You can also set the `DRYCC_BUILDER` to determine which builder to use.
158+
150159

151160
[pods]: http://kubernetes.io/v1.1/docs/user-guide/pods.html
152161
[controller]: ../understanding-workflow/components.md#controller

0 commit comments

Comments
 (0)