Is this a stupid question?
Was I supposed to clone the GitHub repository before trying to build the image?
I ask because I’ve just seen these errors
<span style="color:#323232;"> => ERROR [2/4] COPY patches/ /tmp/patches/ 0.0s
</span><span style="color:#323232;"> => CACHED [3/4] RUN echo "**** install build packages ****" && apk a 0.0s
</span><span style="color:#323232;"> => ERROR [4/4] COPY root/ / 0.0s
</span><span style="color:#323232;">------
</span><span style="color:#323232;"> > [2/4] COPY patches/ /tmp/patches/:
</span><span style="color:#323232;">------
</span><span style="color:#323232;">------
</span><span style="color:#323232;"> > [4/4] COPY root/ /:
</span><span style="color:#323232;">------
</span><span style="color:#323232;">Dockerfile:63
</span><span style="color:#323232;">--------------------
</span><span style="color:#323232;"> 61 |
</span><span style="color:#323232;"> 62 | # add local files
</span><span style="color:#323232;"> 63 | >>> COPY root/ /
</span><span style="color:#323232;"> 64 |
</span><span style="color:#323232;"> 65 | # ports and volumes
</span><span style="color:#323232;">--------------------
</span><span style="color:#323232;">ERROR: failed to solve: failed to compute cache key: failed to calculate checksum of ref 2ad57b92-028a-429f-a2de-be0e9a7f57af::cz3t2511b10hmumww1m73cse6: "/root": not found
</span><span style="color:#323232;">
</span>
And being as n00b as I am, I’m instantly trying to attribute the blame to me not doing something.
Add comment