angry-squid/Dockerfile-alpine

17 lines
380 B
Plaintext
Raw Normal View History

2020-09-23 08:32:42 +02:00
FROM alpine:3.12
2019-08-05 18:40:59 +02:00
2019-11-07 11:11:13 +01:00
RUN apk -U upgrade && \
apk add squid perl && \
2019-08-05 18:40:59 +02:00
mkdir -p /etc/squid/conf.d /etc/squid/patterns.d /etc/squid/storeid /app/storeid
COPY docker-stuff/start.sh /app/
COPY storeid_rewrite /app/
COPY docker-stuff/squid.conf /etc/squid/
COPY patterns/* /etc/squid/patterns.d/
COPY storeid/* /app/storeid/
EXPOSE 3128
EXPOSE 3129
2020-09-23 08:32:42 +02:00
ENTRYPOINT ["/app/start.sh"]