omnia-md / omnia-linux-anvil

Experimental version of conda-forge/linux-anvil to build openmm
0 stars 3 forks source link

Reduce Dockerfile Size #8

Open Lnaden opened 6 years ago

Lnaden commented 6 years ago

Running list of ideas to get the Dockerfile size down.

Also welcome to other ideas!

Lnaden commented 6 years ago

For the later of the CUDA driver, we may need to use a multi-stage build, but that seems to be a pretty new feature. We could alternately add the file from a curl -L command (would need -L instead of -O since its a binary file)

Lnaden commented 6 years ago

Also consider applying the solution for the CUDA installer to the TeXLive and AMD SDK downloads, since they are also added as part of a Docker ADD directive, then removed when done