bromite-buildtools/images/squid/Dockerfile

13 lines
277 B
Docker
Raw Normal View History

2021-08-06 11:35:28 +05:30
FROM ubuntu:latest
COPY whitelist /etc/squid/whitelist
COPY squid.conf /etc/squid/squid.conf
COPY start-proxy.sh .
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y squid bash sudo socat
CMD sudo chmod +x ./start-proxy.sh &&\
./start-proxy.sh