1
0
mirror of https://github.com/b4tman/docker-squid.git synced 2024-11-23 03:36:54 +00:00

cross build using qemu

This commit is contained in:
Dmitry Belyaev 2017-03-07 21:03:51 +03:00
parent f384c90781
commit cab0b65ef3

View File

@ -1,11 +1,15 @@
FROM armhf/alpine FROM b4tman/armhf-alpine-qemu
MAINTAINER b4tman <b4tm4n@mail.ru> MAINTAINER b4tman <b4tm4n@mail.ru>
ENV SQUID_CONFIG_FILE=/etc/squid/squid.conf ENV SQUID_CONFIG_FILE=/etc/squid/squid.conf
COPY docker-entrypoint.sh / COPY docker-entrypoint.sh /
RUN [ "cross-build-start" ]
RUN apk add --no-cache squid &&\ RUN apk add --no-cache squid &&\
chmod 755 /docker-entrypoint.sh chmod 755 /docker-entrypoint.sh
RUN [ "cross-build-end" ]
ENTRYPOINT ["/docker-entrypoint.sh"] ENTRYPOINT ["/docker-entrypoint.sh"]
VOLUME ["/var/cache/squid"] VOLUME ["/var/cache/squid"]