Dockerfile: Install ethr binary only on amd64

Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
Rob Bradford 2022-02-17 17:45:25 +00:00
parent d27316dab6
commit 09e21e8fe5

View File

@ -122,7 +122,8 @@ RUN if [ "$TARGETARCH" = "amd64" ]; then \
&& cd .. && rm -rf spdk; fi
# install ethr tool for performance tests
RUN wget https://github.com/microsoft/ethr/releases/latest/download/ethr_linux.zip \
RUN if [ "$TARGETARCH" = "amd64" ]; then \
wget https://github.com/microsoft/ethr/releases/latest/download/ethr_linux.zip \
&& unzip ethr_linux.zip \
&& cp ethr /usr/local/bin \
&& rm ethr_linux.zip
&& rm ethr_linux.zip; fi