All my clients use that local repository and life is good.
On an internet connected machine, I built a docker image. This docker image is based on Centos 7.8.
I moved this docker image into my isolated environment to find out the packages that are installed are not the same ones that I have.
In my Dockerfile I disabled updates, so there wasn't a chance of pulling in 7.9 packages.
Code: Select all
RUN yum-config-manager --disable updates
For instance, this image required java. So, I install "java-1.8.0-openjdk"
Down the line of dependencies I find:
The package version that I replicated from is 18.3.4-7.el7
Likewise, the version on vault.centos.org is also the same.
However, when yum installs it gets a newer version: 18.3.4-10.el7
Through a little digging, I see that when I browse a mirror, 7.8.2003 isredirects to /7.
This seems to be 7.9. Which is not what I want at all.
I want 7.8 repositories, which is why I started from a 7.8 Docker image.
This is annoying. How do I stay locked into the version I specified instead of this forced update version?