From 2ba8a28748d1994dfe83f3949dd2add229c89d6c Mon Sep 17 00:00:00 2001 From: Olivier Berger Date: Thu, 4 Apr 2019 16:43:48 +0200 Subject: [PATCH] make LOCALBUILD=0 should be working --- Dockerfile.j2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile.j2 b/Dockerfile.j2 index 5fb31df..66068bd 100644 --- a/Dockerfile.j2 +++ b/Dockerfile.j2 @@ -13,7 +13,7 @@ FROM arm32v7/{{image}} as system COPY --from=amd64 /usr/bin/qemu-arm-static /usr/bin/ {%endif%} -{% if localbuild %} +{% if localbuild == 1 %} RUN sed -i 's#http://archive.ubuntu.com/#http://tw.archive.ubuntu.com/#' /etc/apt/sources.list; {% endif %} @@ -94,7 +94,7 @@ RUN apt-get update \ ################################################################################ FROM {{image}} as builder -{% if localbuild %} +{% if localbuild == 1 %} RUN sed -i 's#http://archive.ubuntu.com/#http://tw.archive.ubuntu.com/#' /etc/apt/sources.list; {% endif %}