summaryrefslogtreecommitdiffstats
path: root/squid/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 /squid/Dockerfile
parent1ba87d4097e4da3977f53ffd4fe808a3b0ec2c72 (diff)
Add squid for caching LAVA downloads
Diffstat (limited to 'squid/Dockerfile')
-rw-r--r--squid/Dockerfile11
1 files changed, 11 insertions, 0 deletions
diff --git a/squid/Dockerfile b/squid/Dockerfile
new file mode 100644
index 0000000..0dd63fa
--- /dev/null
+++ b/squid/Dockerfile
@@ -0,0 +1,11 @@
+FROM debian:9
+
+RUN apt-get update
+RUN DEBIAN_FRONTEND=noninteractive apt-get install -y squid3
+
+COPY entrypoint.sh /sbin/entrypoint.sh
+COPY squid.conf /etc/squid/squid.conf
+RUN chmod 755 /sbin/entrypoint.sh
+
+EXPOSE 3128/tcp
+CMD "/sbin/entrypoint.sh"