blob: cd20938b6a8549b7eab353519893db17b2c267c5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
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"]
|