Build Error: Job failed with exit code: 1 (while creating a space at hugging Face)

The error started appearing because the base Docker image python:3.9-slim was updated on Docker Hub. It used to be based on Debian Bookworm, but it’s now based on Debian Trixie. Apparently, some packages, such as libgl1-mesa-glx and software-properties-common, have been removed from the apt repository in Debian Trixie, which has caused disruptions in some Spaces.
If you don’t use software-properties-common in your Space, you can simply delete that line from your Dockerfile.
I think we should update the Dockerfile for streamlit, and I’ll report the issue internally.

1 Like