-
Notifications
You must be signed in to change notification settings - Fork 8
Create environment from environment.yml
#73
Comments
@lgray do you have any preferences? (for reference Matthew is working on the generic IRIS-HEP Analysis System docker image and we had an idea to use |
I am trying this now as part of making a coffea2023 image, and of course there is an issue in that any conda-installable pytorch conflicts with |
@nsmith- I don't know the specifics of why you do/don't want PyTorch with |
The original impetus was to reduce the image size, but now that our image has ballooned to 1.4GB, saving the 200MB for MKL seems less important. In https://github.com/CoffeaTeam/docker-coffea-base/blob/coffea2023/base/environment.yml I managed to build a first image and manually uploaded it to dockerhub. |
FYI we're consolidating the images/environments in CoffeaTeam/af-images#1 |
To build ontop of these images in an easier manner, it would be quite useful if the images were constructed from an
environment.yml
file that wascopied
into the image and then built from. So replacingdocker-coffea-base/base/Dockerfile
Line 11 in a879ea1
with
RUN mamba install --yes --file /environment.yml
This would also make it easier to be able to create a lock file for the environment with
conda-lock
and then to build on top of these images by being able to extend theenvironment.yml
andconda-lock
files as needed.Is this in scope?
The text was updated successfully, but these errors were encountered: