Skip to content

Error in building in Image with upstream-example.Dockerfile #472

@Kaitou786

Description

@Kaitou786

On the master branch when you do docker build -t test-registry-image -f upstream-example.Dockerfile . you see:

Step 5/10 : COPY --from=builder /build/bundles.db /bundles.db
COPY failed: stat /var/lib/docker/overlay2/e7f6a0ede48483e52a6e0b05b18967b1596997852306cbc1efca29ed316a8ee5/merged/build/bundles.db: no such file or directory

I tried to debug this and found that the bundles.db file exist in / and not in /build/ in BUILDER image, So by changing line to COPY --from=builder /bundles.db /bundles.db solved the problem. Let me know if this is true :), I'll be more than happy to send a PR for this issue :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    triage/unresolvedIndicates an issue that can not or will not be resolved.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions