mirror of
https://github.com/b4tman/docker-squid.git
synced 2024-11-14 15:26:53 +00:00
19 lines
361 B
Docker
19 lines
361 B
Docker
FROM b4tman/armhf-alpine-qemu
|
|
MAINTAINER b4tman <b4tm4n@mail.ru>
|
|
|
|
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"]
|