mirror of
https://github.com/b4tman/docker-squid.git
synced 2024-11-22 11:16:55 +00:00
15 lines
285 B
Docker
15 lines
285 B
Docker
FROM alpine
|
|
MAINTAINER b4tman <b4tm4n@mail.ru>
|
|
|
|
ENV SQUID_CONFIG_FILE=/etc/squid/squid.conf
|
|
|
|
COPY docker-entrypoint.sh /
|
|
RUN apk add --no-cache squid &&\
|
|
chmod 755 /docker-entrypoint.sh
|
|
ENTRYPOINT ["/docker-entrypoint.sh"]
|
|
|
|
VOLUME ["/var/cache/squid"]
|
|
EXPOSE 3128/tcp
|
|
|
|
CMD ["squid"]
|