You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 19, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Oct 19, 2026. It is now read-only.
[Bug]: Fix broken Docker build paths for Ubuntu 22.04 and 24.04 #6542
The Ubuntu 22.04 and Ubuntu 24.04 Dockerfiles currently copy and execute install-prerequisities.sh, but the checked-in file in both directories is
named install-prerequisites.sh. A build therefore cannot resolve the
referenced build-context file.
The accompanying READMEs also clone the unavailable ROCm/rocm-build
repository. In addition, the Ubuntu 24.04 README points users to the Ubuntu
22.04 directory.
This is a narrow follow-up to #4624. That issue covered broader source-build
concerns and was closed in favor of TheRock. The current report is limited to
deterministic path mismatches still present on develop.
Affected revision
964740985b6900a2401a8a1494285667d1e7e6aa
Affected files
tools/rocm-build/docker/ubuntu22/Dockerfile
tools/rocm-build/docker/ubuntu22/README.md
tools/rocm-build/docker/ubuntu24/Dockerfile
tools/rocm-build/docker/ubuntu24/README.md
Steps to reproduce
test -f tools/rocm-build/docker/ubuntu22/install-prerequisities.sh
test -f tools/rocm-build/docker/ubuntu24/install-prerequisities.sh
Both commands fail. The corresponding correctly named install-prerequisites.sh files exist.
Expected behavior
Each Dockerfile should reference a file that exists in its build context, and
the README commands should clone this repository and enter the matching
OS-specific directory.
Proposed fix
Reference install-prerequisites.sh in both Dockerfiles.
Update the clone URL to https://github.com/ROCm/ROCm.git.
Correct the Ubuntu 22.04 and Ubuntu 24.04 directory instructions.
Normalize the Dockerfile FROM ... AS ... casing so docker build --check
completes without warnings.
Activity
harkgill-amd commentedon Aug 4, 2026
Build scripts have been deprecated, see https://github.com/ROCm/ROCm/issues/6544#issuecomment-5183690946.