fix(graalvm): update to Oracle Linux 10 to fix file command mimetype issues #3764
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.
While PR #3763 ensured that the Minecraft container no longer starts too early relative to the Nginx container during test execution, it didn't actually resolve the execution errors that appeared after upgrading the GraalVM images to Oracle Linux 9.
Luckily, after clearing my local Docker build cache, I was finally able to reproduce the issue locally using the commands outlined at #3762 (comment). This allowed me to investigate the problem more deeply.
Using
docker exec, I traced the root cause to a brokenfilecommand in Oracle Linux 9, which inconsistently reports MIME types for ZIP files. Some ZIP files I tested with were correctly identified asapplication/zip, but the problematic file,tests/setuponlytests/generic-packs/web/configs.zip, was an exception, as shown in https://github.com/itzg/docker-minecraft-server/actions/runs/19390730903/job/55483795809. Interestingly, thefilecommand correctly identifies it as a ZIP file when the--mime-typeflag is omitted: the issue lies solely in the MIME-type output.Consequently, I decided to upgrade the base image to Oracle Linux 10, released in June 2025, ensuring the OS environment is as up-to-date as it gets. (For context, Oracle Linux 8, used before the bump to OL9, was originally released in 2019.) This update resolved the ZIP MIME-type inconsistencies, requiring only minor adjustments to the
install-packages.shscript to account for naming changes in the latest OS release.I've verified these changes to successfully restore passing CI results for GraalVM by achieving successful GraalVM workflow runs, which can be seen here. (Only Alpine images are failing, but that's unrelated to any of the PRs I submitted lately.)
Thanks again to @itzg for the helpful pointers at #3763 (comment) and the prompt reviews!