diff --git a/Dockerfile b/Dockerfile index 3651aac..25e1fdf 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,12 +2,13 @@ FROM armhf/alpine MAINTAINER b4tman 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"]