Skip to content

Commit

Permalink
installing hdf5 library and pkg-config. These two allow to
Browse files Browse the repository at this point in the history
then install h5py via pip without issues.

The installation of pkg-config is required, it was not sufficient to just
install the hdf5 and then define the HDF5_DIR environment variable.
  • Loading branch information
mikibonacci committed Jun 11, 2024
1 parent 503d11b commit c339a8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stack/base/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ ENV EXTRA_APT_PACKAGES "curl povray rsync build-essential"
# but we install it here so that we don't have to invoke apt multiple times.
ARG TARGETARCH
RUN if [ "$TARGETARCH" = "arm64" ]; then \
EXTRA_APT_PACKAGES="erlang ${EXTRA_APT_PACKAGES}"; \
EXTRA_APT_PACKAGES="erlang libhdf5-serial-dev pkg-config ${EXTRA_APT_PACKAGES}"; \
fi;\
apt-get update --yes && \
apt-get install --yes --no-install-recommends ${EXTRA_APT_PACKAGES} && \
Expand Down

0 comments on commit c339a8e

Please sign in to comment.