Skip to content

Find way to use a multi-stage build to do the solve and lockfile in builder container #4

@matthewfeickert

Description

@matthewfeickert

Would be nice to be able to solve the lock file and build the environment in one builder stage and then just copy everything into another base image in a second stage.

c.f. conda/conda-lock#266 (comment)

Not sure if conda-pack is needed here.

The alternative is just to do it single stage and then figure out some way to target the base environment with conda-lock install but then that seems to run into

CondaValueError: The target prefix is the base prefix. Aborting.

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