2021-12-12 21:08:40 +00:00
|
|
|
FROM debian:11
|
2019-08-05 16:40:59 +00:00
|
|
|
|
|
|
|
RUN apt-get update && \
|
2019-11-07 10:16:57 +00:00
|
|
|
apt-get -y upgrade && \
|
2019-08-05 16:40:59 +00:00
|
|
|
apt-get install -y squid && \
|
|
|
|
mkdir -p /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
|
|
|
|
|
2021-12-12 21:08:40 +00:00
|
|
|
ENTRYPOINT ["/app/start.sh"]
|