Skip to content

awaitImageId() using BuildImageResultCallback issue #2184

@AlexanderJell

Description

@AlexanderJell

We used the api to build a model that installs pip dependencies for a python application.

Running the pip install outputs "Sucessfully built <package" for packages that are built.
This caused the api to return the name due to the implementation of parsing the imageId in the BuildImageResultCallback class.

We fixed it by adding a lastStepDone boolean that waits for Step n/n done and then enables the imageId parsing by waiting for "Sucessfully built <...>"

Should I open a pr with our solution I think there is no disadvantage to wait for docker image build completion before parsing the image id?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions