I’m having this issue right now also. Here’s my logs, including the dockerfile as sent to me by Balena engineering:
[Info] Starting build for wifi-eus-test, user XXXXXXXXXXXXXXXX
[Info] Dashboard link: https://dashboard.balena-cloud.com/apps/XXXXXXX/devices
[Info] Building on arm03
[Info] Pulling previous images for caching purposes...
[Success] Successfully pulled cache images
[main] Step 1/6 : FROM balenalib/raspberrypi3-debian
[main] ---> 6dafa0cd68d7
[main] Step 2/6 : RUN apt-get update && apt-get install -y curl wget build-essential libelf-dev awscli bc flex libssl-dev python pkg-config git hostapd libnl-3-dev libnl-genl-3-dev
[main] ---> Running in 8509fc6ac33a
[main] Removing intermediate container 8509fc6ac33a
[Info] Uploading images
[main] grpc: the connection is unavailable
[Success] Successfully uploaded images
[Error] Some services failed to build:
[Error] Service: main
[Error] Error: grpc: the connection is unavailable
[Error] Not deploying release.
UPDATE: If I comment out step 2 (RUN apt-get update && apt-get install), the build will complete. I added another RUN statement to the Dockerfile, and the build failed on that step, too. Perhaps there is something wrong with the RUN statements?