summaryrefslogtreecommitdiffstats
path: root/squid/Dockerfile
diff options
context:
space:
mode:
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"