From efccd0a853879ac6af6066eda09792d0d3afe9c0 Mon Sep 17 00:00:00 2001 From: Thiago Brito Date: Wed, 5 Jan 2022 17:55:24 -0300 Subject: [PATCH] Specify a different source for novnc/spice-html5 The StarlingX project is seen some intermittence on the gitlab where spice-html5 source is being cloned from and we would like to select a different source. This changes gives the option to overwrite the source repos and versions of both spice-html5 and novnc. This will also provide the means to easily test new versions of those libraries when in the event of an upversion. Partial-Bug: #1956173 Signed-off-by: Thiago Brito Change-Id: I3001dad62a0caed26347dcb193d101c80901b5d8 --- Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 502c043..3a026a3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -24,10 +24,10 @@ ARG KEEP_ALL_WHEELS="False" ARG UID=42424 ARG GID=42424 -ARG NOVNC_REPO=https://github.com/novnc/novnc -ARG NOVNC_REF=v1.0.0 -ARG SPICE_REPO=https://gitlab.freedesktop.org/spice/spice-html5.git -ARG SPICE_REF=spice-html5-0.1.6 +ARG NOVNC_REPO=${NOVNC_REPO:-https://github.com/novnc/novnc} +ARG NOVNC_REF=${NOVNC_REF:-v1.0.0} +ARG SPICE_REPO=${SPICE_REPO:-https://gitlab.freedesktop.org/spice/spice-html5.git} +ARG SPICE_REF=${SPICE_REF:-spice-html5-0.1.6} COPY scripts /opt/loci/scripts ADD bindep.txt pydep.txt $EXTRA_BINDEP $EXTRA_PYDEP /opt/loci/