Skip to content

"COPY patches/ /var/www/patches/" failing during build #49

Open
@danhgov

Description

@danhgov

Hi @sylus,

We are getting this in MFIN Data Catalogue when build.yml runs:

Dockerfile:102
--------------------
 100 |     # Create the directory if it doesn't exist in the build context.
 101 |     RUN mkdir -p patches
 102 | >>> COPY patches/ /var/www/patches/
 103 |     
 104 |     WORKDIR /var/www
--------------------
ERROR: failed to solve: failed to compute cache key: failed to calculate checksum of ref 55dec1ed-8bcd-44e7-9f80-b09552f46eab::vx23i1nfail6x0afwmmc7jpid: "/patches": not found
make: *** [docker/Makefile:17: base] Error 1
Error: Process completed with exit code 2.

It's really weird because, on a different project, I had just been having a build-problem related to the patches directory. But it turns out to be an unrelated issue. But I tried rebuilding a tag in MFIN DC that previously had built successfully, and it failed this time with the same error as above.

I see that you added this code last week. Any idea why it is failing?

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