summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoredepaul <paul.p.dennehy@est.tech>2019-04-11 16:14:52 +0000
committerPaul Dennehy <paul.p.dennehy@est.tech>2019-04-11 16:43:25 +0000
commit22843ae3fa946fd8259f6bb2aa10a894a43e7e67 (patch)
tree0b725ac53bd2beda7b2b40d0117fc7de748a1611
parent0155643bfd2e38ca3a557faca9bdb282331c6590 (diff)
Adding uid and gid for for user and group2.1.0
Change-Id: Iac2bb2dffc2759595387aa5113855a64c162b346 Issue-ID: DMAAP-1137 Signed-off-by: edepaul <paul.p.dennehy@est.tech>
-rw-r--r--datarouter-node/src/main/resources/docker/Dockerfile4
-rw-r--r--datarouter-prov/src/main/resources/docker/Dockerfile4
-rw-r--r--datarouter-subscriber/src/main/resources/docker/Dockerfile4
3 files changed, 6 insertions, 6 deletions
diff --git a/datarouter-node/src/main/resources/docker/Dockerfile b/datarouter-node/src/main/resources/docker/Dockerfile
index d57fbef5..b07b3ef3 100644
--- a/datarouter-node/src/main/resources/docker/Dockerfile
+++ b/datarouter-node/src/main/resources/docker/Dockerfile
@@ -33,8 +33,8 @@ WORKDIR /opt
RUN chmod 0700 startup.sh
ENTRYPOINT ["sh", "startup.sh"]
-RUN addgroup -S onap \
- && adduser -S datarouter -G onap \
+RUN addgroup -S -g 1001 onap \
+ && adduser -S -u 1000 datarouter -G onap \
&& chown -R datarouter:onap /opt/
USER datarouter \ No newline at end of file
diff --git a/datarouter-prov/src/main/resources/docker/Dockerfile b/datarouter-prov/src/main/resources/docker/Dockerfile
index fb512a4b..115dc7cb 100644
--- a/datarouter-prov/src/main/resources/docker/Dockerfile
+++ b/datarouter-prov/src/main/resources/docker/Dockerfile
@@ -33,8 +33,8 @@ RUN chmod 0700 startup.sh
ENTRYPOINT ["sh", "startup.sh"]
-RUN addgroup -S onap \
- && adduser -S datarouter -G onap \
+RUN addgroup -S -g 1001 onap \
+ && adduser -S -u 1000 datarouter -G onap \
&& chown -R datarouter:onap /opt/
USER datarouter
diff --git a/datarouter-subscriber/src/main/resources/docker/Dockerfile b/datarouter-subscriber/src/main/resources/docker/Dockerfile
index 7892ff75..6c3536c2 100644
--- a/datarouter-subscriber/src/main/resources/docker/Dockerfile
+++ b/datarouter-subscriber/src/main/resources/docker/Dockerfile
@@ -30,8 +30,8 @@ WORKDIR /opt
RUN chmod 0700 startup.sh
ENTRYPOINT ["sh", "startup.sh"]
-RUN addgroup -S onap \
- && adduser -S datarouter -G onap \
+RUN addgroup -S -g 1001 onap \
+ && adduser -S -u 1000 datarouter -G onap \
&& chown -R datarouter:onap /opt/
USER datarouter \ No newline at end of file