From c1917a74e17338683e32f4ae869a5dc76582edc7 Mon Sep 17 00:00:00 2001
From: Yaman Umuroglu <maltanar@gmail.com>
Date: Tue, 21 Apr 2020 00:01:16 +0100
Subject: [PATCH] [Docker] allow specifying CI branch

---
 docker/Dockerfile.finn_ci | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/docker/Dockerfile.finn_ci b/docker/Dockerfile.finn_ci
index a17707a22..b31a3c846 100644
--- a/docker/Dockerfile.finn_ci
+++ b/docker/Dockerfile.finn_ci
@@ -31,6 +31,7 @@ MAINTAINER Yaman Umuroglu <yamanu@xilinx.com>
 ARG PYTHON_VERSION=3.6
 ARG VIVADO_PATH
 ARG BUILD_PATH
+ARG FINN_CI_BRANCH
 
 WORKDIR /workspace
 
@@ -60,7 +61,7 @@ RUN git clone --branch feature/synth_rpt https://github.com/maltanar/PYNQ-HelloW
 RUN git -C /workspace/PYNQ-HelloWorld checkout db7e418767ce2a8e08fe732ddb3aa56ee79b7560
 
 # FINN
-RUN git clone --branch dev https://github.com/Xilinx/finn /workspace/finn
+RUN git clone --branch $FINN_CI_BRANCH https://github.com/Xilinx/finn /workspace/finn
 
 RUN pip install -r /workspace/finn/requirements.txt
 RUN apt update; apt install nano
-- 
GitLab