I’m experiencing extremely long build times today. Last week it was much faster.
My project uses a combination of public images from Docker Hub and locally-built containers. Local build with balena push <hostname>
on my RPi4 takes about 60 seconds, but balena push
to the cloud has been running for the past 25 minutes now and is still working on pulling the postgres:13
image from Docker Hub. Doing the initial cache pull took ages too (I didn’t time it, but something like 7-8 minutes).
wax% balena push terranode
/ Packaging the project source...[Warn]
[Warn] ----------------------------------------------------------------------
[Warn] The following .dockerignore file(s) will not be used:
[Warn] * /Users/sgrimm/work/balena/terranode/.dockerignore
[Warn] * /Users/sgrimm/work/balena/rhizo-server/.dockerignore
[Warn] By default, only one .dockerignore file at the source folder (project root)
[Warn] is used. Microservices (multicontainer) applications may use a separate
[Warn] .dockerignore file for each service with the --multi-dockerignore (-m) option.
[Warn] See "balena help push" for more details.
[Warn] ----------------------------------------------------------------------
[Info] Starting build for terranode, user steven10
[Info] Dashboard link: https://dashboard.balena-cloud.com/apps/1758873/devices
[Info] Building on arm01
[Info] Pulling previous images for caching purposes...
[Info] Still Working...
[Info] Still Working...
[Info] Still Working...
[Info] Still Working...
[Info] Still Working...
[Info] Still Working...
[Info] Still Working...
[Info] Still Working...
[Info] Still Working...
[Info] Still Working...
[Info] Still Working...
[Info] Still Working...
[Info] Still Working...
[Info] Still Working...
[terranode] Step 1/17 : FROM balenalib/raspberrypi4-64-debian-python:3.8.5-buster-build AS build
[Info] Still Working...
[Info] Still Working...
[Info] Still Working...
[Info] Still Working...
[Info] Still Working...
[Info] Still Working...
[Info] Still Working...
[Info] Still Working...
[chromium] [=========================================================] 100%
[postgres] [> ] 0%