build: Reset image default arguments (i.e. CMD) when entrypoint is defined
requested to merge experimental/native-llb-I35bf0e160067568597863852857fc2fb539b6c94 into experimental/native-llb-Ia4012c7e67e3b674ba4860bba301c8623a8e1ca2
Dockerfile behavior, and by extension that of the prior Dockerfile based
blubber, resets the CMD value inherited by base images when an
ENTRYPOINT is defined. To maintain parity (for now at least) with the
prior implementation, have build.TargetImage
reset the image's default
arguments when a new entry point is set.
Related MRs:
- !92 (merged) (This MR)
- !91 (merged)
- experimental/native-llb
Edited by Dduvall