diff --git a/resources/Dockerfile b/resources/Dockerfile index 48be906e7..8a3f37acd 100644 --- a/resources/Dockerfile +++ b/resources/Dockerfile @@ -91,3 +91,11 @@ RUN export ARCH="$(uname -m)" \ RUN echo 'source $CARGO_HOME/env' >> $HOME/.bashrc \ && mkdir $HOME/.cargo \ && 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