summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mod/distributorapi/Dockerfile14
-rw-r--r--mod/distributorapi/tox.ini2
-rw-r--r--releases/1.4.0-blueprint-generator.yaml4
3 files changed, 10 insertions, 10 deletions
diff --git a/mod/distributorapi/Dockerfile b/mod/distributorapi/Dockerfile
index f82607d..84ee6b5 100644
--- a/mod/distributorapi/Dockerfile
+++ b/mod/distributorapi/Dockerfile
@@ -1,5 +1,6 @@
# ============LICENSE_START=======================================================
# Copyright (c) 2019 AT&T Intellectual Property. All rights reserved.
+# Copyright 2020 Deutsche Telekom. 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.
@@ -13,16 +14,11 @@
# See the License for the specific language governing permissions and
# limitations under the License.
# ============LICENSE_END=========================================================
-FROM python:3.7-alpine
+FROM nexus3.onap.org:10001/onap/integration-python:latest
-ARG UID=1000
-ARG GID=1000
-COPY . /code
-WORKDIR /code
-RUN pip install . && \
- addgroup -g $GID dcaemod && \
- adduser -s /bin/bash -u $UID -G dcaemod -D dcaemod
-USER dcaemod
+COPY --chown=onap:onap . /app
+RUN pip install .
EXPOSE 8080
ENV DISTRIBUTOR_DEBUG=0
+ENV PATH="$PATH:/home/onap/.local/bin"
CMD start-distributor-api
diff --git a/mod/distributorapi/tox.ini b/mod/distributorapi/tox.ini
index a0bebea..3f8a43b 100644
--- a/mod/distributorapi/tox.ini
+++ b/mod/distributorapi/tox.ini
@@ -1,5 +1,5 @@
[tox]
-envlist = py37
+envlist = py37,py38
[testenv]
deps=
diff --git a/releases/1.4.0-blueprint-generator.yaml b/releases/1.4.0-blueprint-generator.yaml
new file mode 100644
index 0000000..5bcf300
--- /dev/null
+++ b/releases/1.4.0-blueprint-generator.yaml
@@ -0,0 +1,4 @@
+distribution_type: 'maven'
+version: '1.4.0'
+project: 'dcaegen2/platform'
+log_dir: 'dcaegen2-platform-mod-bpgenerator-maven-stage-master/187'