mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-12-22 05:35:20 +00:00
Dockerfile: Install ethr binary only on amd64
Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
parent
d27316dab6
commit
09e21e8fe5
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user