Update to Ubuntu 26.04 and ROOT 6.38.04#188
Conversation
|
Just as a heads up, when I was experimenting with bumping the ROOT version, the image was failing to push to DockerHub: https://github.com/LDMX-Software/dev-build-context/actions/runs/25692264293 This error happens at the end of the build and is fairly opaque: I fear that it has to do with the caching since it fails in the build step of trying to push the cache. From a little searching, this looks like the layer being pushed is too large. Either we need to drop all caching (which works) or maybe we can get away with dropping the Another solution is to look back at customizing the CI workflow to cache locally on the runner. This makes sense for us since we just have the single VM acting as the runners doing the building. Right now, we treat it like two runners and have GitHub distribute the load, but we could treat it like one runner and do the parallel-building within the action itself. |
| # denv runs as the host user (non-root), so /usr/local must be world-writable | ||
| # for ldmx-sw to install its libraries there | ||
| RUN chmod -R a+rwX /usr/local |
There was a problem hiding this comment.
We should only be installing ldmx-sw into /usr/local when building the production image (i.e. in RUN from within another Dockerfile where the user is root and not when running denv). Failure for denv to be able to write to /usr/local is expected and behavior that I would want to keep.
|
My concerns were confirmed. The amd64 run failed to push its cache to DockerHub like what happened on my branch. https://github.com/LDMX-Software/dev-build-context/actions/runs/25886123565/job/76078111961 I got around this issue by remove the The largest layer in the current cache on DockerHub (so the largest layer that was successfully pushed) is below 1GB. I think it makes sense that they would prevent individual layers from exceeding 1GB, so that is probably the issue. I don't know which layer is exceeding the size limit but I suspect its the ROOT one since ROOT is the one changing. I don't know how ROOT would increase the layer size by ~275MB though if that is the issue. |
I am adding a new package to the container, here are the details.
What new packages does this PR add to the development image?
Check List
Yes with LDMX-Software/ldmx-sw#2047