diff options
author | Corentin LABBE <clabbe@baylibre.com> | 2018-06-01 10:49:40 +0200 |
---|---|---|
committer | Corentin LABBE <clabbe@baylibre.com> | 2018-06-05 15:36:31 +0200 |
commit | 6510f0c9d8b381240c81514cc2f2ce7e318cb7f0 (patch) | |
tree | c2293252b72dfe396862b7159633606071288204 /lava-master/Dockerfile | |
parent | 3588f8dc3fb68b3cc21178f3722e980dd9369d2a (diff) |
Allow to have device-types-patch
Diffstat (limited to 'lava-master/Dockerfile')
-rw-r--r-- | lava-master/Dockerfile | 3 |
1 files changed, 3 insertions, 0 deletions
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 |