early-access version 1799
This commit is contained in:
13
externals/cpp-httplib/test/proxy/Dockerfile
vendored
Executable file
13
externals/cpp-httplib/test/proxy/Dockerfile
vendored
Executable file
@@ -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"]
|
Reference in New Issue
Block a user