cnpem / epics-in-docker

Container images with EPICS and modules
5 stars 2 forks source link

Prune unused modules from dynamic-link #19

Open henriquesimoes opened 1 year ago

henriquesimoes commented 1 year ago

dynamic-link and no-build targets use a trivial copy all from /opt, leading to unused modules and unused build artifacts to be copied to the resulting IOC image.

Any level of pruning could easily and greatly improve the final image size.

_Discussion started by @ericonr in https://github.com/cnpem/epics-in-docker/pull/15#discussion_r1314850489_

ericonr commented 1 year ago

Possible strategies: