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"]
|