summaryrefslogtreecommitdiffstats
path: root/ms
diff options
context:
space:
mode:
Diffstat (limited to 'ms')
-rwxr-xr-xms/blueprintsprocessor/application/src/main/docker/Dockerfile2
-rw-r--r--ms/command-executor/src/main/docker/Dockerfile2
-rw-r--r--ms/py-executor/docker/Dockerfile2
-rwxr-xr-xms/sdclistener/distribution/src/main/docker/Dockerfile2
4 files changed, 4 insertions, 4 deletions
diff --git a/ms/blueprintsprocessor/application/src/main/docker/Dockerfile b/ms/blueprintsprocessor/application/src/main/docker/Dockerfile
index bd1b3804a..e9c4c5895 100755
--- a/ms/blueprintsprocessor/application/src/main/docker/Dockerfile
+++ b/ms/blueprintsprocessor/application/src/main/docker/Dockerfile
@@ -9,7 +9,7 @@ FROM omahoco1/alpine-java-python
# add entrypoint
COPY startService.sh /startService.sh
-RUN addgroup -S onap && adduser -S onap -G onap
+RUN addgroup -S -g 1000 onap && adduser -u 1000 -S onap -G onap
RUN chown onap:onap /startService.sh
RUN touch /velocity.log && chmod 777 /velocity.log
RUN chown onap:onap /velocity.log
diff --git a/ms/command-executor/src/main/docker/Dockerfile b/ms/command-executor/src/main/docker/Dockerfile
index e84d5531b..610e10cc2 100644
--- a/ms/command-executor/src/main/docker/Dockerfile
+++ b/ms/command-executor/src/main/docker/Dockerfile
@@ -5,7 +5,7 @@ RUN python -m pip install --upgrade pip
RUN pip install grpcio==${GRPC_PYTHON_VERSION} grpcio-tools==${GRPC_PYTHON_VERSION}
RUN pip install virtualenv==16.7.9 pympler==0.8
-RUN groupadd -r onap && useradd -r -g onap onap
+RUN groupadd -r -g 1000 onap && useradd -r -u 1000 -g onap onap
COPY start.sh /opt/app/onap/start.sh
RUN chmod u+x /opt/app/onap/start.sh
diff --git a/ms/py-executor/docker/Dockerfile b/ms/py-executor/docker/Dockerfile
index 638b09f39..eb43b7320 100644
--- a/ms/py-executor/docker/Dockerfile
+++ b/ms/py-executor/docker/Dockerfile
@@ -1,6 +1,6 @@
FROM python:3.7-slim
-RUN groupadd -r onap && useradd -r -g onap onap
+RUN groupadd -r -g 1000 onap && useradd -u 1000 -r -g onap onap
RUN mkdir -p /opt/app/onap/logs/ && touch /opt/app/onap/logs/application.log
diff --git a/ms/sdclistener/distribution/src/main/docker/Dockerfile b/ms/sdclistener/distribution/src/main/docker/Dockerfile
index e9ecb8d66..41622fae1 100755
--- a/ms/sdclistener/distribution/src/main/docker/Dockerfile
+++ b/ms/sdclistener/distribution/src/main/docker/Dockerfile
@@ -1,6 +1,6 @@
FROM openjdk:8-jdk-alpine
-RUN addgroup -S onap && adduser -S onap -G onap
+RUN addgroup -S -g 1000 onap && adduser -S onap -u 1000 -G onap
# add entrypoint
COPY startService.sh /startService.sh
RUN chown onap:onap /startService.sh