bump base image from 22.04 to 24.04 #131
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Rationale
It's time to upgrade from the ubuntu 22.04 eclipse-temurin base image to 24.04.
We also want to repath the java ErrorFile argument to below $LABKEY_HOME/files, as this is commonly mounted to persistent storage outside the container. As heap dumps were already doing this, the heap dump directory has been slightly renamed to contain both heap dumps and error log files. Also added is a purge of old heap (and now error) directories, defaulting to 90+ days old.
As images built on Apple silicon (linux/arm64) are not usable on the linux/amd64 architecture commonly used in ECS, a BUILD_ARCHITECTURE build argument was added, defaulting to linux/amd64.
Related Pull Requests
Changes