Slightly more guaranteed is something of an understatement; if you specify base images with specific hashes and pin package versions, you can get quite close to reproducible builds of the environment.
Pin specific versions of your packages, coupled with caching and you're sitting pretty.