Address MobSF image size (~900MB as of v3.4.6)
Problem
Upstream grew by about 200MB, and our image inherits from theirs. (See https://hub.docker.com/r/opensecurity/mobile-security-framework-mobsf/tags for upstream size, and https://gitlab.com/gitlab-org/security-products/analyzers/mobsf for our build.)
Hence, our image now is nearly 900MB after updating to 3.4.6 in gitlab-org/security-products/analyzers/mobsf!42 (merged).
Proposal
- Evaluate whether squashing the upstream image could help (for instance, if packages are added and removed in subsequent layers)
- Consider removing portions of MobSF that are not relevant to us, like report generation or dynamic analysis