13 lines
233 B
Docker
13 lines
233 B
Docker
FROM alpine:3.16
|
|
|
|
RUN apk add --no-cache squid openssl darkhttpd
|
|
RUN mkdir /ca
|
|
COPY run.sh rewrite.awk /
|
|
RUN chmod 0755 /run.sh /rewrite.awk
|
|
COPY squid.conf /etc/squid/squid.conf
|
|
|
|
VOLUME /var/cache/squid
|
|
EXPOSE 3128
|
|
|
|
CMD ["/run.sh"]
|