Skip to content

Can ContainerImage.from_asset support pass options to docker build? #383

@cycbluesky

Description

@cycbluesky

ContainerImage.from_asset only support pass build_args, can it support pass build options?

e.g DOCKER_BUILDKIT=1 docker build --ssh bitbucket=$(HOME)/.ssh/id_rsa -t app-service -f Dockerfile .

I need pass DOCKER_BUILDKIT=1, --ssh bitbucket=$(HOME)/.ssh/id_rsa when docker build

Metadata

Metadata

Assignees

No one assigned

    Labels

    guidanceQuestion that needs advice or information.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions