diff options
Diffstat (limited to 'ms/py-executor')
-rw-r--r-- | ms/py-executor/docker/Dockerfile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ms/py-executor/docker/Dockerfile b/ms/py-executor/docker/Dockerfile index eb43b7320..812922c4d 100644 --- a/ms/py-executor/docker/Dockerfile +++ b/ms/py-executor/docker/Dockerfile @@ -1,7 +1,6 @@ -FROM python:3.7-slim - -RUN groupadd -r -g 1000 onap && useradd -u 1000 -r -g onap onap +FROM onap/integration-python:7.0.1 +USER root RUN mkdir -p /opt/app/onap/logs/ && touch /opt/app/onap/logs/application.log COPY @project.build.finalName@-@assembly.id@.tar.gz /source.tar.gz @@ -16,5 +15,6 @@ RUN mkdir -p /opt/app/onap/blueprints/deploy RUN chown onap:onap /opt -R VOLUME /opt/app/onap/blueprints/deploy/ + USER onap ENTRYPOINT /opt/app/onap/python/start.sh |