Skip to content

Commit

Permalink
Add missing dependency for building h5py (#8093)
Browse files Browse the repository at this point in the history
I tried to build via

`docker-compose -f docker-compose.yml -f docker-compose.dev.yml build`

but the installation of h5py fails in line
https://github.com/cvat-ai/cvat/blob/develop/Dockerfile#L81
with error
`Failed building wheel for h5py`

adding the depdency `libhdf5-dev` fixes the issue.

 

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **Chores**
- Updated Dockerfile to include the `libhdf5-dev` package for improved
compatibility and support.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

Co-authored-by: Maxim Zhiltsov <zhiltsov.max35@gmail.com>
  • Loading branch information
rragundez and zhiltsov-max committed Jul 23, 2024
1 parent 292e1c4 commit 090a4c8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ RUN apt-get update && \
libxml2-dev \
libxmlsec1-dev \
libxmlsec1-openssl \
libhdf5-dev \
&& rm -rf /var/lib/apt/lists/*

ARG PIP_VERSION
Expand Down

0 comments on commit 090a4c8

Please sign in to comment.