Closed
Description
Description
We currently only run apt-get update and upgrade when we build the builder image, and then we pull that down from quay when we do a build. We have a test to flag if we need to update the image for security updates. This builder update has been done maybe 40+ times for security updates, and is done manually by developers.
Advantages:
- Reproducible build environment
- Faster build
Disadvantages:
- Dev overhead to do the builder updates. Again, it is done manually by developers.
- Because of 1, we don't end up updating most of the time except when we do a build of a package to go onto one of our apt servers, meaning that in practice we're running containers potentially with security vulnerabilities on developer machines.
Also bear in mind we are also apt-get update and upgrading in prod right now (when we run securedrop-admin install
). It seems like expending this effort is not a wise allocation of time given the current team resources, but open to discuss. An alternative path is discussing how we can safely automate this task.