Hi,
when pushing the project to balenaCloud an error occurs:
[Error] Some services failed to build:
[Error] Service: ab_edge
[Error] Error: failed to register layer: Error processing tar file(exit status 1): unexpected EOF
The project consists of my application, a redis container (pulled from official docker registry) and a custom image, hosted on third-party registry. This image is also the source of the problem, since I can push and build normally, if I comment out the custom image in docker-compose file.
I came across this article where it is said, that file permissions can have an effect (I checked if every file has the same user and permissions, and it seems they do) and also to prune existing images and restart docker service. Since all this is handled by balenCloud, this is not something I can do.
I have previously used this image in other application, where it built it 80% of the time (I got the same error, but I repeated the build process and it went through). In this application, it fails to build every time.
If it helps, first there was another error when getting the image:
x509: certificate has expired or is not yet valid
and was then fixed by the image maintainers. Since then, all I get is an EOF error.