Skip to content

Accept Dockerfile as a string as well as/instead of Dockerfile.t #301

@TheLortex

Description

@TheLortex

Hi, I'd like to use obuilder_spec to describe an image and be able to locally build it using Current_docker.

For now it's complicated because Current_docker.Default.build expects a ('Contents of Dockerfile.t), but Obuilder_spec.Docker.dockerfile_of_spec returns the dockerfile as a string. So I actually have to write down the content to a file using Current_fs.save and then use 'File of Fpath.t in the current_docker build.

Do you think it would be possible to have the conversion from an obuilder spec to a Dockerfile.t to simplify the process ?

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