mirror of
https://github.com/pineappleEA/pineapple-src.git
synced 2024-11-26 11:28:24 -05:00
14 lines
210 B
Docker
14 lines
210 B
Docker
|
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"]
|