mirror of
https://github.com/fcwu/docker-ubuntu-vnc-desktop
synced 2026-08-05 16:12:41 +02:00
make LOCALBUILD=0 should be working
This commit is contained in:
+2
-2
@@ -13,7 +13,7 @@ FROM arm32v7/{{image}} as system
|
|||||||
COPY --from=amd64 /usr/bin/qemu-arm-static /usr/bin/
|
COPY --from=amd64 /usr/bin/qemu-arm-static /usr/bin/
|
||||||
{%endif%}
|
{%endif%}
|
||||||
|
|
||||||
{% if localbuild %}
|
{% if localbuild == 1 %}
|
||||||
RUN sed -i 's#http://archive.ubuntu.com/#http://tw.archive.ubuntu.com/#' /etc/apt/sources.list;
|
RUN sed -i 's#http://archive.ubuntu.com/#http://tw.archive.ubuntu.com/#' /etc/apt/sources.list;
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
@@ -94,7 +94,7 @@ RUN apt-get update \
|
|||||||
################################################################################
|
################################################################################
|
||||||
FROM {{image}} as builder
|
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;
|
RUN sed -i 's#http://archive.ubuntu.com/#http://tw.archive.ubuntu.com/#' /etc/apt/sources.list;
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user