Re:Over 30% of Official Images in Docker Hub Contain Securit...
by teacup50 on Wednesday May 27, 2015 @03:23PM
(#9613695)
The 'real' problem is that you shouldn't have to install dependencies in OS-level locations for an application-level product.
In other words, the app should be able to bundle dependencies without having to use a crazy opaque container system, and those dependencies should be easily auditable.
This is the case for Java, where dependencies are 1) bundled with the application, 2) declared explicitly, 3) signed, 4) centrally managed with maven repository software.
It's 'simple' for me to build a virtualenv in a directory with `pip install -r requirements.txt` in my source repo, but everything I've read about making those virtualenvs portable (even moving them between directories on the same server you built them on) is that it is a path fraught with peril.