14 lines
284 B
Docker
14 lines
284 B
Docker
FROM alpine:3.16
|
|
|
|
# hadolint ignore=DL3018
|
|
RUN apk add --no-cache squid openssl darkhttpd
|
|
COPY run.sh rewrite.awk /
|
|
COPY install-ca.sh /static/
|
|
COPY squid.conf /etc/squid/squid.conf
|
|
RUN chmod 0755 /run.sh /rewrite.awk ; mkdir /ca
|
|
|
|
VOLUME /var/cache/squid
|
|
EXPOSE 3128
|
|
|
|
CMD ["/run.sh"]
|