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

19 lines
361 B
Docker
Raw Normal View History

2017-03-07 18:03:51 +00:00
FROM b4tman/armhf-alpine-qemu
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-03-07 18:03:51 +00:00
RUN [ "cross-build-start" ]
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-03-07 18:03:51 +00:00
RUN [ "cross-build-end" ]
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"]