From 6510f0c9d8b381240c81514cc2f2ce7e318cb7f0 Mon Sep 17 00:00:00 2001 From: Corentin LABBE Date: Fri, 1 Jun 2018 10:49:40 +0200 Subject: Allow to have device-types-patch --- lava-master/Dockerfile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lava-master/Dockerfile') diff --git a/lava-master/Dockerfile b/lava-master/Dockerfile index 581999a..137a59a 100644 --- a/lava-master/Dockerfile +++ b/lava-master/Dockerfile @@ -90,6 +90,9 @@ RUN /start.sh && /setup.sh && /stop.sh #comment this if you do HTTPS (For reenabling CSRF cookie) COPY settings.conf /etc/lava-server/ +COPY device-types-patch/ /root/device-types-patch/ +RUN cd /etc/lava-server/dispatcher-config/device-types/ && for patch in $(ls /root/device-types-patch/*patch) ; do sed -i 's,lava_scheduler_app/tests/device-types/,,' $patch && patch < $patch ; done + EXPOSE 69/udp 80 3079 5555 5556 CMD /start.sh && while [ true ];do sleep 365d; done -- cgit 1.2.3-korg