gversmee / dbgap2x

Apache License 2.0
8 stars 7 forks source link

Size of Docker image #10

Closed gversmee closed 5 years ago

gversmee commented 5 years ago

10Gb is way too much The Docker image took 40 min to download, and after checking, docker image is 10Gb. My understanding is that dbGaP2x only requires a jupyter server, a few dev libraries and a R environment. The image should be much less than 1Gb.

gversmee commented 5 years ago

There seems to be a confusion between the image located on the dbmi docker hub repo and the one located on the gversmee docker hub repo. Needs to be updated. The final image is located at gversmee/dbgap2x. It's current size is 4.17Gb. It is difficult to decrease more the size of this image given that the jupyter/minimal-notebook image is 2.66Gb, and a base-r image with our package is 809 Mb. We could start from the jupyter/base-notebook to reduce the size.

gversmee commented 5 years ago

We reduced the size to 1.34Gb