I’m trying to build an Okteto manifest for my application. I’ve simplified it as much as possible, but the COPY directives in my Dockerfile are failing without an obvious error. Relevant lines:
$ okteto build
...
=> CACHED [ 2/17] WORKDIR /app 0.0s
=> ERROR [ 3/17] COPY ./generic/web/config/apache2 /etc/apache2 0.0s
=> CACHED [ 4/17] RUN mv "/usr/local/etc/php/php.ini-production" "/usr/local/etc/php/php.ini" 0.0s
=> ERROR [ 5/17] COPY ./generic/web/config/php/proprietary.ini /usr/local/etc/php/conf.d/ 0.0s
...
The manifest is pretty simple at this point:
build:
generic-web:
context: src/generic/web
dockerfile: Dockerfile
In the process of tracking down logs, I found the logs for the buildkit container:
$ k -n okteto logs pods/okteto-okteto-enterprise-buildkit-0 | tail
time="2022-08-18T14:36:36Z" level=info msg="running server on [::]:1234"
time="2022-08-22T21:01:56Z" level=error msg="/moby.buildkit.v1.Control/Solve returned error: rpc error: code = Unknown desc = failed to compute cache key: \"/generic/web/config/php/proprietary.ini\": not found\n"
time="2022-08-22T21:02:13Z" level=error msg="/moby.buildkit.v1.Control/Solve returned error: rpc error: code = Unknown desc = failed to compute cache key: \"/generic/web/config/php/proprietary.ini\": not found\n"
time="2022-08-22T21:03:45Z" level=error msg="/moby.buildkit.v1.Control/Solve returned error: rpc error: code = Unknown desc = failed to compute cache key: \"/generic/web/config/php/proprietary.ini\": not found\n"
time="2022-08-25T00:34:15Z" level=error msg="/moby.buildkit.v1.Control/Solve returned error: rpc error: code = Unknown desc = failed to compute cache key: \"/generic/web/config/php/proprietary.ini\": not found\n"
Are there any other logs that might be relevant for figuring out what’s going on? Thanks.