Remove dockerfile dependency from the API. Upstream-commit: 5ef04b1c6d1ca94c83c7ce52faae908a278ce6ea Component: engine