diff options
author | Andrew Gauld <agauld@att.com> | 2020-03-27 15:30:36 +0000 |
---|---|---|
committer | Andrew Gauld <agauld@att.com> | 2020-03-27 15:42:57 +0000 |
commit | f6a8a8322d09d5f6012167d298dea6f0471cb82c (patch) | |
tree | 0b54d532635e0657db3fc05cb46e2529b92d1ee2 /adapter/acumos/Dockerfile | |
parent | 715442db4147980f3fb17a240a396a8e826f0f04 (diff) |
Images updated and the new versions are:
adapter.acumos:1.0.2
mod.distributorapi:1.0.1
mod.onboardingapi:2.12.1
mod.designtool-web:1.0.2
mod.genprocessor-job:1.0.1
mod.genprocessor-http:1.0.1
mod.runtime-web:1.0.2
Note: image names all start with "onap/org.onap.dcaegen2.platform."
designtool-web was already running as a non-root user. The others have been
changed to create user "dcaemod" and run as that user.
The listen port numbers on mod.distributorapi, mod.onboardingapi, and
mod.genprocessor-http are changed from 80 to 8080.
URLs in designtool-web, distributorapi, and genprocessor-job are adjusted
to reflect the new port numbers.
Change-Id: I510122952666c21cb92f3f64552e99d50af7c355
Issue-ID: DCAEGEN2-2170
Signed-off-by: Andrew Gauld <agauld@att.com>
Diffstat (limited to 'adapter/acumos/Dockerfile')
-rw-r--r-- | adapter/acumos/Dockerfile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/adapter/acumos/Dockerfile b/adapter/acumos/Dockerfile index 7ec9656..d1a0984 100644 --- a/adapter/acumos/Dockerfile +++ b/adapter/acumos/Dockerfile @@ -17,6 +17,8 @@ # ============LICENSE_END====================================================== FROM python:3.7 +ARG UID=1000 +ARG GID=1000 COPY setup.py /tmp/build/ COPY aoconversion/ /tmp/build/aoconversion/ RUN apt-get update && \ @@ -26,9 +28,12 @@ RUN apt-get update && \ cd /tmp/build/ && \ python setup.py install && \ cd / && \ - rm -rf /tmp/* + rm -rf /tmp/* && \ + groupadd -g $GID dcaemod && \ + useradd -s /bin/bash -u $UID -g $GID -m dcaemod EXPOSE 9000 ENV PYTHONUNBUFFERED TRUE +USER dcaemod ENTRYPOINT [ "/usr/local/bin/acumos-adapter" ] CMD [ "/run/config/config.yaml" ] |