mirror of
https://github.com/b4tman/docker-squid.git
synced 2024-11-25 04:36:53 +00:00
14 lines
249 B
Docker
14 lines
249 B
Docker
|
FROM alpine
|
||
|
MAINTAINER b4tman <b4tm4n@mail.ru>
|
||
|
|
||
|
ENV SQUID_CONFIG_FILE=/etc/squid/squid.conf
|
||
|
RUN apk add --no-cache squid
|
||
|
|
||
|
VOLUME ["/var/cache/squid"]
|
||
|
|
||
|
COPY docker-entrypoint.sh /
|
||
|
ENTRYPOINT ["/docker-entrypoint.sh"]
|
||
|
CMD ["squid"]
|
||
|
|
||
|
EXPOSE 3128/tcp
|