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

I think you can use --name (-n) on the mamba command line to override the environment name in the env file. #33

Closed
bdklahn opened this issue Mar 7, 2024 · 1 comment

Comments

@bdklahn
Copy link

bdklahn commented Mar 7, 2024

no need for manual string replacing :-)

I, at least, know it works for env create.

hostile/Dockerfile

Lines 4 to 5 in 57be277

RUN sed -i 's/name: hostile/name: base/' hostile/environment.yml
RUN mamba env update -f hostile/environment.yml

@bede
Copy link
Owner

bede commented Apr 10, 2024

Thanks for this, committed in c2f38c3

@bede bede closed this as completed Apr 10, 2024
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

2 participants