Skip to content

Conversation

@mknightly2000
Copy link

@mknightly2000 mknightly2000 commented Jan 29, 2026

Description

This PR fixes a build error encountered when running docker compose build on ARM64 architectures (e.g., Apple M1/M2/M3 chips).

The Issue

When building on ARM64, pip attempts to compile h5py from source because a compatible pre-built wheel is not found. The build fails with the error: pkg-config probably not installed, as the base Docker image is missing the necessary system dependencies to compile HDF5 bindings.

The Fix

I updated the Dockerfile to install the required build tools (pkg-config, libhdf5-dev, and gcc) via apt-get before running the pip installation.

Verification

  • Verified that docker compose build completes successfully on an Apple Silicon machine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant