Skip to content

Dockerfile contains typo that prevents build #9150

@litneet64

Description

@litneet64

Describe the bug

The main Dockerfile contains a "typo" at line 70 in the last multi-stage, where instead of copying the built openroad binary in the right path (/OpenROAD/build/bin/openroad), it copies it from /OpenROAD/build/src/openroad, where no built binaries should be found.

This in turn makes building OpenROAD with the main repo dockerfile fail at the last stage.

Image

A simple fix of this line makes the image build without problems

Image

Expected Behavior

The docker image should build

Environment

No response

To Reproduce

Run docker build -t openroad . or podman build -t openroad . inside the main repo directory and eventually one will get to the same problem

Relevant log output

--> 519beed60c95
[2/3] STEP 10/10: COPY --chmod=775 --chown=user:user etc/docker-entrypoint.sh /usr/local/bin/.
--> 02c9d0d630aa
[3/3] STEP 1/7: FROM c5535915c03bc273c5ca95ee25507405f9ffa256a7026cc56579c3d17bdd0028 AS final
[3/3] STEP 2/7: COPY --from=builder /OpenROAD/build/src/openroad /usr/bin/.
Error: building at STEP "COPY --from=builder /OpenROAD/build/src/openroad /usr/bin/.": checking on sources under "/REDACTED_PATH/overlay/c14d8ad51c7b14b445e4f080f2a4c3e816be8c3fea808eca50ed2afd46fa9dbb/merged": copier: stat: "/OpenROAD/build/src/openroad": no such file or directory

Screenshots

No response

Additional Context

No response

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