Skip to content

Commit

Permalink
Add PIP_ONLY_BINARY to Dockerfile (#596)
Browse files Browse the repository at this point in the history
Signed-off-by: Ian Hoang <hoangia@amazon.com>
Co-authored-by: Ian Hoang <hoangia@amazon.com>
  • Loading branch information
IanHoang and Ian Hoang authored Jul 25, 2024
1 parent 5886866 commit 70b25c9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ RUN apt-get -y update && \
RUN groupadd --gid 1000 opensearch-benchmark && \
useradd -d /opensearch-benchmark -m -k /dev/null -g 1000 -N -u 1000 -l -s /bin/bash benchmark

ENV PIP_ONLY_BINARY=h5py
RUN if [ -z "$VERSION" ] ; then python3 -m pip install opensearch-benchmark ; else python3 -m pip install opensearch-benchmark==$VERSION ; fi

WORKDIR /opensearch-benchmark
Expand Down

0 comments on commit 70b25c9

Please sign in to comment.