summaryrefslogtreecommitdiffstats
path: root/adapter/acumos/Dockerfile
diff options
context:
space:
mode:
authorVijay Venkatesh Kumar <vv770d@att.com>2020-08-03 18:15:21 +0000
committerGerrit Code Review <gerrit@onap.org>2020-08-03 18:15:21 +0000
commitba3d7306c1773ea78ad7a87468fc66b9b4f18551 (patch)
treebd39a59806e9772d6b597b0e0db48d5b9035fcbf /adapter/acumos/Dockerfile
parent9f7c742ea64a6acb4f5ce2b8df885750c68a2ed3 (diff)
parent711d4eae913f34e78aa10e8cd511f3b8e43cd54f (diff)
Merge "Pull JSON schemas at build/test not run time"
Diffstat (limited to 'adapter/acumos/Dockerfile')
-rw-r--r--adapter/acumos/Dockerfile4
1 files changed, 4 insertions, 0 deletions
diff --git a/adapter/acumos/Dockerfile b/adapter/acumos/Dockerfile
index d1a0984..4f1bea2 100644
--- a/adapter/acumos/Dockerfile
+++ b/adapter/acumos/Dockerfile
@@ -25,6 +25,10 @@ RUN apt-get update && \
apt-get install -y npm nodejs && \
npm -v && \
npm install -g protobuf-jsonschema && \
+ mkdir schemas && \
+ wget -O schemas/schema.json 'https://json-schema.org/draft-04/schema#' && \
+ wget -O schemas/compspec.json https://git.onap.org/dcaegen2/platform/plain/mod/component-json-schemas/component-specification/dcae-cli-v2/component-spec-schema.json && \
+ wget -O schemas/dataformat.json https://git.onap.org/dcaegen2/platform/plain/mod/component-json-schemas/data-format/dcae-cli-v1/data-format-schema.json && \
cd /tmp/build/ && \
python setup.py install && \
cd / && \