mirror of
https://github.com/yhirose/cpp-httplib.git
synced 2026-01-19 04:52:08 +00:00
14 lines
233 B
Docker
14 lines
233 B
Docker
FROM alpine:latest
|
|
|
|
ARG auth="basic"
|
|
ARG port="3128"
|
|
|
|
RUN apk update && apk add --no-cache squid
|
|
|
|
COPY ./${auth}_squid.conf /etc/squid/squid.conf
|
|
COPY ./${auth}_passwd /etc/squid/passwd
|
|
|
|
EXPOSE ${port}
|
|
|
|
CMD ["/usr/sbin/squid", "-N"]
|