Skip to content

Compose with / in image name #147

@kristi-balla

Description

@kristi-balla

When running podlet compose docker-compose.yml on a compose file with an image: my.gitlab.instance:5005/my/project/frontend:main, the following happens:

if podlet was installed via cargo install --path ., everything builds as expected.

However, in any of the following scenarios, podlet fails to deal with the slashes. If podlet was installed

  • by downloading the binary from the artifacts,
  • by running the container image,
  • by running cargo install podlet or
  • by running cargo binstall podlet

all fails. The podlet binary is dynamically linked. This hints towards there missing some basic package. I am too unfamiliar with the codebase or even how rust packages a dynamically linked binary to pinpoint the issue. Can someone maybe shed some light on this?

That being said, the containerized version works on a gcr.io/distroless/static-debian12:debug-nonroot image. The size increases by mere 3MB compared to the scratch image, but it just works

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