rocker-org / rocker-versioned2

Run current & prior versions of R using docker. rocker/r-ver, rocker/rstudio, rocker/shiny, rocker/tidyverse, and so on.
https://rocker-project.org
GNU General Public License v2.0
414 stars 180 forks source link

Report image size of test builds in CI logs #543

Open eitsupi opened 2 years ago

eitsupi commented 2 years ago

Currently we have to download the artifact to see the built image size, but this is a hassle. The image size is listed in the json file and can be easily extracted with jq.

mskyttner commented 1 year ago

Sorry if this is not 100% related to this issue, but regarding image sizes I noticed that the size has almost doubled for the rocker/ml-verse image when comparing 4.2.1 to 4.2.2 (which is on jammy, I believe):

$ docker images | grep rocker/ml-verse | head -n 2

rocker/ml-verse                          4.2.2                          7723b958405a   5 days ago      13.2GB
rocker/ml-verse                          4.2.1                          dcfdabe76d04   6 weeks ago     6.6GB

Is this increased size in the image expected/normal? I was just surprised that switching to jammy would mean so much for the image size?

eitsupi commented 1 year ago

@mskyttner It is entirely expected due to the base image switch and has nothing to do with this issue.

Compare the following two https://github.com/rocker-org/rocker-versioned2/wiki/cuda_d107b047f914 https://github.com/rocker-org/rocker-versioned2/wiki/cuda_d9acea13af6f

Perhaps more information should have been included in NEWS.md about switching base images.