summaryrefslogtreecommitdiff
path: root/testenv/Dockerfile
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2019-11-07 06:42:48 +0300
committerDevaev Maxim <[email protected]>2019-11-07 06:42:48 +0300
commit8abe4b1ac9d341eec17d211328b9f3cd9b59fa0a (patch)
tree87d08459405e48edd91c09662d440edc378de9a2 /testenv/Dockerfile
parent10f8c2b3352c951549cc1249d6b24789fb94d688 (diff)
v2 testing
Diffstat (limited to 'testenv/Dockerfile')
-rw-r--r--testenv/Dockerfile9
1 files changed, 8 insertions, 1 deletions
diff --git a/testenv/Dockerfile b/testenv/Dockerfile
index a33af7b1..9c23d29c 100644
--- a/testenv/Dockerfile
+++ b/testenv/Dockerfile
@@ -41,6 +41,13 @@ RUN git clone https://github.com/pikvm/ustreamer \
COPY testenv/requirements.txt requirements.txt
RUN pip install -r requirements.txt
-RUN mkdir -p /etc/kvmd/nginx
+RUN mkdir -p \
+ /etc/kvmd/nginx \
+ /var/lib/kvmd/msd/{images,meta} \
+ /fake_sysfs/sys/kernel/config/usb_gadget/kvmd/functions/mass_storage.usb0/lun.0 \
+ && cd /fake_sysfs/sys/kernel/config/usb_gadget/kvmd/functions/mass_storage.usb0/lun.0 \
+ && touch file \
+ && echo 1 > cdrom \
+ && echo 1 > ro
CMD /bin/bash