Skip to content
This repository was archived by the owner on Oct 19, 2026. It is now read-only.
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

Closed

Description

@Aidenwu0209

Problem description

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

  1. harkgill-amd commented on Aug 4, 2026

    @harkgill-amd
    Contributor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions