mirror of
https://github.com/b4tman/docker-squid.git
synced 2024-11-13 06:46:53 +00:00
docker-entrypoint permissions fix [armhf]
This commit is contained in:
commit
266a711b36
13
Dockerfile
13
Dockerfile
@ -2,12 +2,13 @@ FROM armhf/alpine
|
||||
MAINTAINER b4tman <b4tm4n@mail.ru>
|
||||
|
||||
ENV SQUID_CONFIG_FILE=/etc/squid/squid.conf
|
||||
RUN apk add --no-cache squid
|
||||
|
||||
COPY docker-entrypoint.sh /
|
||||
RUN apk add --no-cache squid &&\
|
||||
chmod 755 /docker-entrypoint.sh
|
||||
ENTRYPOINT ["/docker-entrypoint.sh"]
|
||||
|
||||
VOLUME ["/var/cache/squid"]
|
||||
|
||||
COPY docker-entrypoint.sh /
|
||||
ENTRYPOINT ["/docker-entrypoint.sh"]
|
||||
CMD ["squid"]
|
||||
|
||||
EXPOSE 3128/tcp
|
||||
|
||||
CMD ["squid"]
|
||||
|
Loading…
Reference in New Issue
Block a user