From cab0b65ef39ba078d1a4dd1ff3cb22d7a0c5ee47 Mon Sep 17 00:00:00 2001 From: Dmitry Belyaev Date: Tue, 7 Mar 2017 21:03:51 +0300 Subject: [PATCH] cross build using qemu --- Dockerfile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 25e1fdf..fcffeda 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,15 @@ -FROM armhf/alpine +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"]