1
0
mirror of https://github.com/b4tman/docker-squid.git synced 2024-11-14 07:16:54 +00:00
docker-squid/Dockerfile

15 lines
291 B
Docker
Raw Normal View History

2017-02-08 07:16:23 +00:00
FROM armhf/alpine
2017-02-08 07:07:59 +00:00
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"]