Hi,
After the most recent issue with the Application builder, one of my containers fails to build properly. The other’s build fine, but that one is using cache for the RUN command. I can build in local mode without an issue but if I try to push to my fleet using balena push it fails, see below:
[Info] Still Working...
[Info] Still Working...
[prometheus-to-thingsboard] Ign:1 http://deb.debian.org/debian bookworm InRelease
[Info] Still Working...
[Info] Still Working...
[prometheus-to-thingsboard] Ign:2 http://deb.debian.org/debian bookworm-updates InRelease
[Info] Still Working...
[Info] Still Working...
[prometheus-to-thingsboard] Ign:3 http://deb.debian.org/debian-security bookworm-security InRelease
[Info] Still Working...
[Info] Still Working...
[prometheus-to-thingsboard] Ign:1 http://deb.debian.org/debian bookworm InRelease
[Info] Still Working...
[Info] Still Working...
[prometheus-to-thingsboard] Ign:2 http://deb.debian.org/debian bookworm-updates InRelease
[Info] Still Working...
[Info] Still Working...
[prometheus-to-thingsboard] Ign:3 http://deb.debian.org/debian-security bookworm-security InRelease
[Info] Still Working...
[Info] Still Working...
[prometheus-to-thingsboard] Ign:1 http://deb.debian.org/debian bookworm InRelease
[Info] Still Working...
[Info] Still Working...
[prometheus-to-thingsboard] Ign:2 http://deb.debian.org/debian bookworm-updates InRelease
[Info] Still Working...
[Info] Still Working...
[prometheus-to-thingsboard] Ign:3 http://deb.debian.org/debian-security bookworm-security InRelease
[Info] Still Working...
[Info] Still Working...
[prometheus-to-thingsboard] Err:1 http://deb.debian.org/debian bookworm InRelease
[prometheus-to-thingsboard] Temporary failure resolving 'deb.debian.org'
[Info] Still Working...
[Info] Still Working...
[prometheus-to-thingsboard] Err:2 http://deb.debian.org/debian bookworm-updates InRelease
[prometheus-to-thingsboard] Temporary failure resolving 'deb.debian.org'
[Info] Still Working...
[Info] Still Working...
[prometheus-to-thingsboard] Err:3 http://deb.debian.org/debian-security bookworm-security InRelease
[prometheus-to-thingsboard] Temporary failure resolving 'deb.debian.org'
[prometheus-to-thingsboard] Reading package lists...
[prometheus-to-thingsboard] W: Failed to fetch http://deb.debian.org/debian/dists/bookworm/InRelease Temporary failure resolving 'deb.debian.org'
[prometheus-to-thingsboard] W: Failed to fetch http://deb.debian.org/debian/dists/bookworm-updates/InRelease Temporary failure resolving 'deb.debian.org'
[prometheus-to-thingsboard] W: Failed to fetch http://deb.debian.org/debian-security/dists/bookworm-security/InRelease Temporary failure resolving 'deb.debian.org'
[prometheus-to-thingsboard] W: Some index files failed to download. They have been ignored, or old ones used instead.
[prometheus-to-thingsboard]
[prometheus-to-thingsboard] Reading package lists...
[prometheus-to-thingsboard] Building dependency tree...
[prometheus-to-thingsboard] Reading state information...
[prometheus-to-thingsboard] E: Unable to locate package curl
[prometheus-to-thingsboard] E: Unable to locate package mosquitto-clients
[prometheus-to-thingsboard]
[prometheus-to-thingsboard] Removing intermediate container b7e129980f61
[prometheus-to-thingsboard] The command '/bin/sh -c apt-get update && apt-get install -y curl mosquitto-clients && pip install requests psutil paho-mqtt' returned a non-zero code: 100
[Info] Uploading images
[Success] Successfully uploaded images
[Error] Some services failed to build:
[Error] Service: prometheus-to-thingsboard
[Error] Error: The command '/bin/sh -c apt-get update && apt-get install -y curl mosquitto-clients && pip install requests psutil paho-mqtt' returned a non-zero code: 100
[Info] Built on df9c640
[Error] Not deploying release.
Remote build failed
Just for reference, this is the command that is causing issues (indicated by the ‘>’):
FROM python:3.11.9-slim
# Set the working directory
WORKDIR /app
> > # Install curl, mosquitto-clients, and the required Python libraries
> > RUN apt-get update && apt-get install -y curl mosquitto-clients && \
> > pip install requests psutil paho-mqtt
Before today’s Elevated GIT/Application Builder Errors it was working fine. Any updates would be helpful.
Thank you!