Skip to content

✨ docker.#UpdateEnv or docker.#Path #2572

@NarendraPatwardhan

Description

@NarendraPatwardhan

What are you trying to do?

I am trying to update the PATH variable based on its previous value inside docker.#Build. docker.#Set is insufficient for it. A mechanism to update env values or PATH specifically should be abstracted away as an action for ease in translation.

Why is this important to you?

Various pieces of software demand the PATH variable be updated for global discovery.
ENV PATH=${PATH}: is a common occurrence in most Dockerfiles, but it is extremely convoluted to do using Dagger in its current form.

How are you currently working around this?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    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