Closed Shrews closed 7 months ago
The builder image is not being used in a v1 EE definition (neither the default value nor the explicitly defined value).
Example A:
--- version: 1
Example B:
--- version: 1 build_arg_defaults: EE_BASE_IMAGE: 'quay.io/ansible/ansible-runner:latest' EE_BUILDER_IMAGE: 'quay.io/ansible/ansible-builder:latest'
Both examples produce a Containerfile that will always use the base image for the builder image. E.g.,
Containerfile
... # Builder build stage FROM base as builder ...
It does not appear that we have any tests to cover this situation.
Problematic line of code...
https://github.com/ansible/ansible-builder/blob/f93844f8221a9215138ee39a3b4f410326561e93/src/ansible_builder/containerfile.py#L127
The builder image is not being used in a v1 EE definition (neither the default value nor the explicitly defined value).
Example A:
Example B:
Both examples produce a
Containerfile
that will always use the base image for the builder image. E.g.,It does not appear that we have any tests to cover this situation.