mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-12-22 13:45:20 +00:00
Dockerfile: Remove classic virtiofsd from container
Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
parent
55b8a2182b
commit
2861330d09
@ -106,14 +106,6 @@ RUN echo 'source $CARGO_HOME/env' >> $HOME/.bashrc \
|
|||||||
&& mkdir $HOME/.cargo \
|
&& mkdir $HOME/.cargo \
|
||||||
&& ln -s $CARGO_HOME/env $HOME/.cargo/env
|
&& ln -s $CARGO_HOME/env $HOME/.cargo/env
|
||||||
|
|
||||||
# install virtiofsd
|
|
||||||
RUN git clone --depth 1 https://gitlab.com/virtio-fs/qemu.git -b qemu5.0-virtiofs-dax \
|
|
||||||
&& cd qemu \
|
|
||||||
&& ./configure --prefix=$PWD --target-list=x86_64-softmmu \
|
|
||||||
&& make virtiofsd -j `nproc` \
|
|
||||||
&& cp virtiofsd /usr/local/bin \
|
|
||||||
&& cd .. && rm -rf qemu
|
|
||||||
|
|
||||||
# install SPDK NVMe
|
# install SPDK NVMe
|
||||||
# only for 'x86_64' platform images as 'docker buildx' can't build 'spdk'
|
# only for 'x86_64' platform images as 'docker buildx' can't build 'spdk'
|
||||||
RUN if [ "$TARGETARCH" = "amd64" ]; then \
|
RUN if [ "$TARGETARCH" = "amd64" ]; then \
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
CLI_NAME="Cloud Hypervisor"
|
CLI_NAME="Cloud Hypervisor"
|
||||||
|
|
||||||
CTR_IMAGE_TAG="cloudhypervisor/dev"
|
CTR_IMAGE_TAG="cloudhypervisor/dev"
|
||||||
CTR_IMAGE_VERSION="20220218-0"
|
CTR_IMAGE_VERSION="20220221-0"
|
||||||
CTR_IMAGE="${CTR_IMAGE_TAG}:${CTR_IMAGE_VERSION}"
|
CTR_IMAGE="${CTR_IMAGE_TAG}:${CTR_IMAGE_VERSION}"
|
||||||
|
|
||||||
DOCKER_RUNTIME="docker"
|
DOCKER_RUNTIME="docker"
|
||||||
|
Loading…
Reference in New Issue
Block a user