Skip to content

Commit 1915159

Browse files
Merge pull request #55 from spolti/h5py
pin h5py version to 3.10.0
2 parents 1130ce2 + 4c00eb2 commit 1915159

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,10 @@ RUN --mount=type=cache,target=/root/.cache/pip \
162162
pip install --upgrade pip && \
163163
pip install wheel && \
164164
pip install grpcio && \
165+
# pin to 3.10.0 to avoid error: libhdf5.so: cannot open shared object file: No such file or directory \
166+
# if not version is set, it will install the 3.11.0 version which, seems that does not have the h5py dependencies \
167+
# for arm yet.
168+
pip install h5py==3.10.0 && \
165169
pip install tensorflow
166170

167171
USER ${USER}

0 commit comments

Comments
 (0)