summaryrefslogtreecommitdiffstats
path: root/lava-master/Dockerfile
diff options
context:
space:
mode:
authorCorentin LABBE <clabbe@baylibre.com>2017-10-27 10:35:20 +0200
committerCorentin LABBE <clabbe@baylibre.com>2017-10-27 10:35:20 +0200
commit09e2ea04485476093b97277cf4bf445052f4ba1b (patch)
tree01c4310dd22d3ef9a3a19c719de07aecb0015778 /lava-master/Dockerfile
parent1ba87d4097e4da3977f53ffd4fe808a3b0ec2c72 (diff)
Add squid for caching LAVA downloads
Diffstat (limited to 'lava-master/Dockerfile')
-rw-r--r--lava-master/Dockerfile3
1 files changed, 3 insertions, 0 deletions
diff --git a/lava-master/Dockerfile b/lava-master/Dockerfile
index 7891152..2dd44b0 100644
--- a/lava-master/Dockerfile
+++ b/lava-master/Dockerfile
@@ -75,6 +75,9 @@ COPY slaves/* /etc/lava-server/dispatcher.d/
COPY scripts/setup.sh /
RUN /start.sh && /setup.sh && /stop.sh
+#uncomment if you want to use squid
+#RUN sed -i 's,^.*http_proxy:.*, http_proxy: http://squid:3128,' /etc/lava-server/env.yaml
+
EXPOSE 69/udp 80 3079 5555 5556
CMD /start.sh && bash