Open maxheld83 opened 5 years ago
it's not clear that this affects install.packages()
, because that cleans up after itself.
it might affect apt-get
calls (not sure).
This does for sure happen when we bake ghactions into the actions, because the entire source becomes part of the build context, and the source currently remains at /ghactions
in all downstream containers.
Not a huge size issue, but a bit unclean, so might be nice to isolate this.
I think the images currently get slightly bloated because the installation artefacts (sources) also get added in the layer, even though that's not really necessary.
This might also happen upstream #166 and may require multi-stage builds #129