mirror of
https://github.com/yhirose/cpp-httplib.git
synced 2026-02-01 09:02:16 +00:00
Fixed problem with proxy support and added unit tests
This commit is contained in:
13
test/test_proxy_docker/Dockerfile
Normal file
13
test/test_proxy_docker/Dockerfile
Normal file
@@ -0,0 +1,13 @@
|
||||
FROM centos
|
||||
LABEL maintainer="yuji.hirose.bug@gmail.com"
|
||||
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