feat: modify the deployment task if the detected entrypoint is tini

Closes #4522
This commit is contained in:
Jose Diaz-Gonzalez
2021-03-25 20:17:16 -04:00
parent 38910c7c48
commit 356ed6f9eb
3 changed files with 83 additions and 5 deletions

View File

@@ -38,7 +38,12 @@ Each "phase" has different expectations and limitations:
- Priming or invalidating cache stores
- Running database migrations
Additionally, if using a Dockerfile with an `ENTRYPOINT`, the deployment task is passed to that entrypoint as is.
Additionally, if using a Dockerfile with an `ENTRYPOINT`, the deployment task is passed to that entrypoint as is. The exceptions are if the entrypoint is one of the following:
- `["/tini", "--"]`
- `["/bin/tini", "--"]`
- `["/usr/bin/tini", "--"]`
- `["/usr/local/bin/tini", "--"]`
Please keep the above in mind when utilizing deployment tasks.