Skip to content

Consider supporting dockerfile_inline #971

@Cobertos

Description

@Cobertos

Problem statement

dockerfile_inline property is not supported in Docker compose/stack file.

It will error when trying to deploy as it is looking for a file called Dockerfile (to try to build an image)

Error:

Image midori-test-midori Building
unable to prepare context: unable to evaluate symlinks in Dockerfile path: lstat /data/stacks/midori-test/Dockerfile: no such file or directory
Image

And just to dispell that other warning as being the cause, the buildx plugin is already installed.

cobertos@sp3-tablet:~$ sudo apt list --installed | grep plugin

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

docker-buildx-plugin/bookworm,now 0.33.0-1~debian.12~bookworm amd64 [installed]
docker-compose-plugin/bookworm,now 5.1.3-1~debian.12~bookworm amd64 [installed]

Proposed solution

It should be able to be specified in the compose stack configuration file.

Alternatives considered

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions