Update docker.io/almalinux Docker tag to v9.8#197
Conversation
There was a problem hiding this comment.
Code Review
This pull request updates the AlmaLinux base image version from 9.6 to 9.7. The review feedback suggests removing the --platform=$BUILDPLATFORM flag from the FROM instruction to ensure the image is built for the target architecture rather than the build host's architecture, preventing potential performance issues or mismatches.
| @@ -1,4 +1,4 @@ | |||
| FROM --platform=$BUILDPLATFORM docker.io/almalinux:9.6 | |||
| FROM --platform=$BUILDPLATFORM docker.io/almalinux:9.7 | |||
There was a problem hiding this comment.
Using --platform=$BUILDPLATFORM in the FROM instruction of the final (and only) stage forces the image to be built for the architecture of the build host (e.g., the CI runner) rather than the target architecture. This can lead to architecture mismatches or performance issues due to emulation when the image is run on a different platform. Unless this image is specifically intended to be a toolset for the build host, it is recommended to remove this flag to allow the image to match the requested target architecture.
FROM docker.io/almalinux:9.7
b01bd46 to
d172b23
Compare
This PR contains the following updates:
9.6→9.8Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.