From 2e7f66734394dc5e749ef9ac95e46a8ded9fb2c9 Mon Sep 17 00:00:00 2001 From: Cédric Ollivier Date: Fri, 7 Sep 2018 23:15:25 +0200 Subject: Stop cloning when running vyos_vrouter MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It moves the clone operation into docker build instead. Change-Id: I296005d8638510a999665d383a26c4fcd48897a6 Signed-off-by: Cédric Ollivier --- docker/vnf/Dockerfile | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'docker/vnf/Dockerfile') diff --git a/docker/vnf/Dockerfile b/docker/vnf/Dockerfile index d081ff17f..9df7753d0 100644 --- a/docker/vnf/Dockerfile +++ b/docker/vnf/Dockerfile @@ -47,6 +47,11 @@ RUN apk --no-cache add --update \ (cd /src/opnfv-vnf-vyos-blueprint && \ git fetch --tags https://github.com/oolorg/opnfv-vnf-vyos-blueprint.git $VROUTER_TAG && \ git checkout FETCH_HEAD) && \ + mkdir -p /home/opnfv/functest/data/router && \ + git init /home/opnfv/functest/data/router/opnfv-vnf-data && \ + (cd /home/opnfv/functest/data/router/opnfv-vnf-data && \ + git fetch --tags https://github.com/oolorg/opnfv-vnf-data.git $VROUTER_TAG && \ + git checkout FETCH_HEAD) && \ git init /src/epc-requirements/abot_charm && \ (cd /src/epc-requirements/abot_charm && \ git fetch --tags https://github.com/RebacaInc/abot_charm.git $ABOT_CHARM && \ -- cgit 1.2.3-korg