From 711d4eae913f34e78aa10e8cd511f3b8e43cd54f Mon Sep 17 00:00:00 2001 From: Andrew Gauld Date: Tue, 28 Jul 2020 16:41:43 +0000 Subject: Pull JSON schemas at build/test not run time Change-Id: I4f095a8a80f1c2868319c58bb0e9db916044d067 Issue-ID: DCAEGEN2-2221 Signed-off-by: Andrew Gauld --- adapter/acumos/Dockerfile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'adapter/acumos/Dockerfile') 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 / && \ -- cgit 1.2.3-korg