You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If extensions are used to switch the runtime base image, the detector should fail if the selected base image is not found in run.toml.
When determining the new runtime base image, the detector should use the following criteria:
- **If** all `run.Dockerfile`s declare `FROM ${base_image}`, the selected run image SHALL be the original run image in `<analyzed>`, with `extend = true`
- **Else** the selected run image SHALL be the last image referenced in the `FROM` statement of the last `run.Dockerfile` not to declare `FROM ${base_image}`
- `run-image.image` SHALL be the name of the selected run image
- `run-image.reference` and `run-image.target` SHALL be cleared (as they may no longer be accurate)
- All preceding `run.Dockerfile`s SHALL be renamed `run.Dockerfile.ignore`
- **If** there are no `run.Dockerfile`s following the Dockerfile with the selected run image:
- `run-image.extend` SHALL be `false`
- **Else**
- `run-image.extend` SHALL be `true`
The schema of analyzed.toml is updated to include run-image.extend = <true or false, default false>
The text was updated successfully, but these errors were encountered:
Spec PR: https://github.com/buildpacks/spec/pull/347/files
For newer platform API (
0.12
and above), thedetector
accepts a new-run
flag.-run
is the location of arun.toml
file with schema:If extensions are used to switch the runtime base image, the
detector
should fail if the selected base image is not found inrun.toml
.When determining the new runtime base image, the
detector
should use the following criteria:The schema of
analyzed.toml
is updated to includerun-image.extend = <true or false, default false>
The text was updated successfully, but these errors were encountered: