diff options
author | Toni Uhlig <matzeton@googlemail.com> | 2021-04-27 11:22:45 +0200 |
---|---|---|
committer | Toni Uhlig <matzeton@googlemail.com> | 2021-04-27 11:22:45 +0200 |
commit | 2811cc9a77c17ac03aac9c1b582040827a76b0d9 (patch) | |
tree | 743856891ab7ac52ee13f717fe8c181bf9faae9a /test/proxy/Dockerfile |
Squashed 'deps/cpp-httplib/' content from commit c58b005
git-subtree-dir: deps/cpp-httplib
git-subtree-split: c58b00580ee66a248c2ef20334bb84319ccde310
Diffstat (limited to 'test/proxy/Dockerfile')
-rw-r--r-- | test/proxy/Dockerfile | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test/proxy/Dockerfile b/test/proxy/Dockerfile new file mode 100644 index 0000000..cd20938 --- /dev/null +++ b/test/proxy/Dockerfile @@ -0,0 +1,13 @@ +FROM centos:7 + +ARG auth="basic" +ARG port="3128" + +RUN yum install -y squid + +COPY ./${auth}_squid.conf /etc/squid/squid.conf +COPY ./${auth}_passwd /etc/squid/passwd + +EXPOSE ${port} + +CMD ["/usr/sbin/squid", "-N"] |