summaryrefslogtreecommitdiffstats
path: root/adapter/acumos/Dockerfile
diff options
context:
space:
mode:
authorAndrew Gauld <agauld@att.com>2020-07-28 16:41:43 +0000
committerAndrew Gauld <agauld@att.com>2020-07-28 16:43:02 +0000
commit711d4eae913f34e78aa10e8cd511f3b8e43cd54f (patch)
treee0bf966addd527a3dd9812c6ed54e2ca0a97a10a /adapter/acumos/Dockerfile
parenta1a37bde3365ebf0aaa543b2f10ebdb13bd4af40 (diff)
Pull JSON schemas at build/test not run time
Change-Id: I4f095a8a80f1c2868319c58bb0e9db916044d067 Issue-ID: DCAEGEN2-2221 Signed-off-by: Andrew Gauld <agauld@att.com>
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 / && \