pineapple-src/externals/cpp-httplib/test/proxy/Dockerfile

14 lines
210 B
Text
Raw Normal View History

2021-06-21 16:57:28 +00:00
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"]