FROM b4tman/armhf-alpine-qemu MAINTAINER b4tman ENV SQUID_CONFIG_FILE=/etc/squid/squid.conf COPY docker-entrypoint.sh / RUN [ "cross-build-start" ] RUN apk add --no-cache squid &&\ chmod 755 /docker-entrypoint.sh RUN [ "cross-build-end" ] ENTRYPOINT ["/docker-entrypoint.sh"] VOLUME ["/var/cache/squid"] EXPOSE 3128/tcp CMD ["squid"]