Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
matthewfeickert opened this issue Oct 26, 2022 · 0 comments

Comments

@matthewfeickert
Copy link
Member

matthewfeickert commented Oct 26, 2022

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant