3 ms·
It works ok for me with docker images. It only works for languages storing dependencies in the environment (e.g. python), so it won't work as well for C++. I c
by kozikow 10y ago
It works ok for me with docker images. It only works for languages storing dependencies in the environment (e.g. python), so it won't work as well for C++.
I can download any docker image. Docker image contains all external dependencies and I can inspect those dependencies.
I assign a version to each Dockerfile. Docker image version is in the source control. Image with each version is stored in docker image registry. Version bump triggers update of all packages (either system level or language packages). This lets me revert external dependencies to state from any point in time. Or check out any commit from source control and run it in the same state as it was running in prod at that time.