Skip to content

Podlet compose demands that build & image are mutually exclusive but demands an image tag with build. #173

@ApproachingApathy

Description

@ApproachingApathy

Version

git main @ 2e9898d

Description

In compose file, Podlet says that you can't have image & build. Then demands an image tag with build.

Replicate

Create a Dockerfile with build and image. Run podlet compose on it.

Error:
   0: error converting compose file
   1: error converting compose file into Quadlet files
   2: error converting service `service_name`: `image` and `build` cannot both be set

Remove image.

Error:
   0: error converting compose file
   1: error converting compose file into Quadlet files
   2: error converting `build` for service `service_name` into a Quadlet `.build` file
   3: an image tag is required

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