mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-12-22 13:45:20 +00:00
Revert "Dockerfile: Build and install SPDK NVMe to the docker image"
This reverts commit a1d8b63d86
.
Reverting as this does not successfully cross build.
Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
parent
c25bd447a1
commit
690bdc3448
@ -109,18 +109,3 @@ RUN git clone --depth 1 https://gitlab.com/virtio-fs/qemu.git -b qemu5.0-virtiof
|
|||||||
&& make virtiofsd -j `nproc` \
|
&& make virtiofsd -j `nproc` \
|
||||||
&& cp virtiofsd /usr/local/bin \
|
&& cp virtiofsd /usr/local/bin \
|
||||||
&& cd .. && rm -rf qemu
|
&& cd .. && rm -rf qemu
|
||||||
|
|
||||||
# install SPDK NVMe
|
|
||||||
RUN git clone https://github.com/spdk/spdk \
|
|
||||||
&& cd spdk \
|
|
||||||
&& git checkout a827fd7eeca67209d4c0aaad9a3ed55692e7e36e \
|
|
||||||
&& git submodule update --init \
|
|
||||||
&& apt-get update \
|
|
||||||
&& ./scripts/pkgdep.sh \
|
|
||||||
&& ./configure --with-vfio-user \
|
|
||||||
&& make -j `nproc` \
|
|
||||||
&& mkdir /usr/local/bin/spdk-nvme \
|
|
||||||
&& cp ./build/bin/nvmf_tgt /usr/local/bin/spdk-nvme \
|
|
||||||
&& cp ./scripts/rpc.py /usr/local/bin/spdk-nvme \
|
|
||||||
&& cp -r ./scripts/rpc /usr/local/bin/spdk-nvme \
|
|
||||||
&& cd .. && rm -rf spdk
|
|
||||||
|
Loading…
Reference in New Issue
Block a user