File: Dockerfile

package info (click to toggle)
cpp-httplib 0.11.4%2Bds-1%2Bdeb12u1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 2,236 kB
  • sloc: cpp: 12,387; makefile: 109; python: 50; sh: 16
file content (13 lines) | stat: -rw-r--r-- 210 bytes parent folder | download | duplicates (3)
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"]