diff options
author | Cédric Ollivier <cedric.ollivier@orange.com> | 2018-09-07 23:15:25 +0200 |
---|---|---|
committer | Cédric Ollivier <cedric.ollivier@orange.com> | 2018-09-08 14:42:14 +0200 |
commit | e69190cc9b0763c9a72b654df56fb3ed5f27430f (patch) | |
tree | 5589a99acf516a4245775a0bf09e4c085c182d18 /docker | |
parent | 5e65114e9e8244a558279595422dcc7b07f9b862 (diff) |
Stop cloning when running vyos_vrouter
It moves the clone operation into docker build instead.
Change-Id: I296005d8638510a999665d383a26c4fcd48897a6
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit 2e7f66734394dc5e749ef9ac95e46a8ded9fb2c9)
Diffstat (limited to 'docker')
-rw-r--r-- | docker/vnf/Dockerfile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/docker/vnf/Dockerfile b/docker/vnf/Dockerfile index 07aeca0aa..55a48a6a8 100644 --- a/docker/vnf/Dockerfile +++ b/docker/vnf/Dockerfile @@ -33,6 +33,9 @@ RUN apk --no-cache add --update \ (cd /src/cloudify_vims && git fetch --depth 1 --tags origin $CLOUDIFY_VIMS_TAG && git checkout FETCH_HEAD) && \ git clone --depth 1 -b $VROUTER_TAG https://github.com/oolorg/opnfv-vnf-vyos-blueprint.git /src/opnfv-vnf-vyos-blueprint && \ (cd /src/opnfv-vnf-vyos-blueprint && git fetch --depth 1 --tags origin $VROUTER_TAG && git checkout FETCH_HEAD) && \ + mkdir -p /home/opnfv/functest/data/router && \ + git clone --depth 1 -b $VROUTER_TAG https://github.com/oolorg/opnfv-vnf-data.git /home/opnfv/functest/data/router/opnfv-vnf-data && \ + (cd /home/opnfv/functest/data/router/opnfv-vnf-data && git fetch --depth 1 --tags origin $VROUTER_TAG && git checkout FETCH_HEAD) && \ git clone --depth 1 https://github.com/RebacaInc/abot_charm.git /src/epc-requirements/abot_charm && \ (cd /src/epc-requirements/abot_charm && git fetch --depth 1 --tags origin $ABOT_CHARM && git checkout FETCH_HEAD) && \ python3 -m pip install --no-cache-dir --src /src -cupper-constraints.txt \ |