summaryrefslogtreecommitdiffstats
path: root/mod/onboardingapi/Dockerfile
diff options
context:
space:
mode:
authorTony Hansen <tony@att.com>2021-10-12 20:19:19 +0000
committerGerrit Code Review <gerrit@onap.org>2021-10-12 20:19:19 +0000
commit17336c26927fdc4d8bc74b051e34fb1d175c219c (patch)
treea282c88cb2b054dbc78b72733d80635bfe21d740 /mod/onboardingapi/Dockerfile
parentff94acee8b41511dcd7f339778c87ca5931e8668 (diff)
parent8852e683a9cd036f1b0d7cb38153b88eded329de (diff)
Merge "[MOD/onboarding] Switch to v3 component spec"
Diffstat (limited to 'mod/onboardingapi/Dockerfile')
-rw-r--r--mod/onboardingapi/Dockerfile5
1 files changed, 4 insertions, 1 deletions
diff --git a/mod/onboardingapi/Dockerfile b/mod/onboardingapi/Dockerfile
index d25d183..e5ca734 100644
--- a/mod/onboardingapi/Dockerfile
+++ b/mod/onboardingapi/Dockerfile
@@ -1,5 +1,6 @@
# ============LICENSE_START=======================================================
# Copyright 2020 Deutsche Telekom. All rights reserved.
+# Copyright (c) 2021 AT&T Intellectual Property. All rights reserved.
# ================================================================================
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -16,7 +17,7 @@
FROM nexus3.onap.org:10001/onap/integration-python:7.0.1
ENV SERVER_URL=https://git.onap.org/dcaegen2/platform/plain/mod
-ENV PATH_COMPONENT_SPEC=/component-json-schemas/component-specification/dcae-cli-v2/component-spec-schema.json
+ENV PATH_COMPONENT_SPEC=/component-json-schemas/component-specification/dcae-cli-v3/component-spec-schema.json
ENV PATH_DATA_FORMAT=/component-json-schemas/data-format/dcae-cli-v1/data-format-schema.json
ENV PG_CONN=
@@ -30,8 +31,10 @@ RUN apk update && \
mkdir schemas && \
wget -O schemas/compspec.json $SERVER_URL$PATH_COMPONENT_SPEC && \
wget -O schemas/dataformat.json $SERVER_URL$PATH_DATA_FORMAT && \
+ pip install --upgrade pip && \
pip install .
+
USER onap
EXPOSE 8080