1
0
mirror of https://github.com/b4tman/docker-squid.git synced 2024-11-21 18:56:54 +00:00

docker-entrypoint permissions fix

This commit is contained in:
Dmitry Belyaev 2017-02-08 10:42:55 +03:00
parent 7e006153b7
commit 3769328a6d

View File

@ -2,12 +2,13 @@ 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 /
RUN apk add --no-cache squid \
chmod 755 /docker-entrypoint.sh
ENTRYPOINT ["/docker-entrypoint.sh"]
CMD ["squid"]
VOLUME ["/var/cache/squid"]
EXPOSE 3128/tcp
CMD ["squid"]