diff options
author | Fiachra Corcoran <fiachra.corcoran@est.tech> | 2019-10-14 15:55:19 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-10-14 15:55:19 +0000 |
commit | 9df67948f715f9cddd51287cd3e91f7cbcf1912b (patch) | |
tree | 1427c3e63920249235f9df73b6cc31fe77c078b7 /datarouter-prov/src/main/resources/docker | |
parent | 027de6cd99fbfc703a1eed04a187e2271b4a5c57 (diff) | |
parent | 1ccd9c36ba12849148f9eb73e8ff2ffe4ade5870 (diff) |
Merge "Update AAF loading procedure"
Diffstat (limited to 'datarouter-prov/src/main/resources/docker')
-rw-r--r-- | datarouter-prov/src/main/resources/docker/Dockerfile | 6 | ||||
-rw-r--r-- | datarouter-prov/src/main/resources/docker/startup.sh | 3 |
2 files changed, 5 insertions, 4 deletions
diff --git a/datarouter-prov/src/main/resources/docker/Dockerfile b/datarouter-prov/src/main/resources/docker/Dockerfile index 115dc7cb..61d32473 100644 --- a/datarouter-prov/src/main/resources/docker/Dockerfile +++ b/datarouter-prov/src/main/resources/docker/Dockerfile @@ -34,7 +34,7 @@ RUN chmod 0700 startup.sh ENTRYPOINT ["sh", "startup.sh"] RUN addgroup -S -g 1001 onap \ - && adduser -S -u 1000 datarouter -G onap \ - && chown -R datarouter:onap /opt/ + && adduser -S -u 1000 dradmin -G onap \ + && chown -R dradmin:onap /opt/ /var/ -USER datarouter +USER dradmin diff --git a/datarouter-prov/src/main/resources/docker/startup.sh b/datarouter-prov/src/main/resources/docker/startup.sh index ba0f7351..aa2f69b6 100644 --- a/datarouter-prov/src/main/resources/docker/startup.sh +++ b/datarouter-prov/src/main/resources/docker/startup.sh @@ -13,4 +13,5 @@ java -classpath $CLASSPATH org.onap.dmaap.datarouter.provisioning.Main runner_file="$LIB/datarouter-prov-jar-with-dependencies.jar" echo "Starting using" $runner_file -java -Dorg.onap.dmaap.datarouter.provserver.properties=/opt/app/datartr/etc/provserver.properties -Dcom.att.eelf.logging.file=/opt/app/datartr/etc/logback.xml -Dcom.att.eelf.logging.path=/root -jar $runner_file
\ No newline at end of file +java -Dorg.onap.dmaap.datarouter.provserver.properties=/opt/app/datartr/etc/provserver.properties \ +-Dcom.att.eelf.logging.file=/opt/app/datartr/etc/logback.xml -Dcom.att.eelf.logging.path=/root -jar $runner_file
\ No newline at end of file |