diff --git a/docker/Dockerfile b/docker/Dockerfile index 63f0e8e4..586bca07 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -23,7 +23,7 @@ ENV PIP_ONLY_BINARY=h5py COPY opensearch-benchmark-git/ ./opensearch-benchmark-git # Currently we always have the $VERSION arg substituted during prod publishing -# Default VERSION=testing to enter test mode based on user inputs +# Default VERSION=testing to enter test mode based on user inputs. RUN if [ "$VERSION" = "testing" ] ; then echo Testing; cp -a opensearch-benchmark-git/* ./; ls -l; python3 -m pip install -e . ; python3 -m pip install pytest tox; pytest tests/; \ else echo Production; rm -rf opensearch-benchmark-git; ls -l; python3 -m pip install opensearch-benchmark==$VERSION ; fi