1
0
mirror of https://github.com/b4tman/docker-squid.git synced 2024-12-23 01:23:14 +00:00
docker-squid/Dockerfile

15 lines
285 B
Docker
Raw Normal View History

2017-02-08 07:07:59 +00:00
FROM alpine
MAINTAINER b4tman <b4tm4n@mail.ru>
ENV SQUID_CONFIG_FILE=/etc/squid/squid.conf
COPY docker-entrypoint.sh /
2017-02-08 07:48:45 +00:00
RUN apk add --no-cache squid &&\
2017-02-08 07:42:55 +00:00
chmod 755 /docker-entrypoint.sh
2017-02-08 07:07:59 +00:00
ENTRYPOINT ["/docker-entrypoint.sh"]
2017-02-08 07:42:55 +00:00
VOLUME ["/var/cache/squid"]
2017-02-08 07:07:59 +00:00
EXPOSE 3128/tcp
2017-02-08 07:42:55 +00:00
CMD ["squid"]