summaryrefslogtreecommitdiffstats
path: root/packages/docker
diff options
context:
space:
mode:
authorRob Daugherty <rd472p@att.com>2017-09-21 10:00:54 -0400
committerRob Daugherty <rd472p@att.com>2017-09-21 10:01:58 -0400
commit72f26cbf07ba87288b2e48a655a3b54fa638e2af (patch)
treef764da7fa3401089cc7de16ea2b9736722fcc52f /packages/docker
parent4d8773a237d3c0b94b8aac3250946b7fff77fd62 (diff)
Create /etc/mso/config.d/ASDC at install time
This directory is where the ASDC controller spools received CSARs. Change-Id: If8ea5463145f821bb34acae44ab03d0f287fea2b Issue-id: SO-131 Signed-off-by: Rob Daugherty <rd472p@att.com>
Diffstat (limited to 'packages/docker')
-rw-r--r--packages/docker/src/main/docker/docker-files/Dockerfile.mso-arquillian2
-rw-r--r--packages/docker/src/main/docker/docker-files/Dockerfile.mso-chef-final2
2 files changed, 4 insertions, 0 deletions
diff --git a/packages/docker/src/main/docker/docker-files/Dockerfile.mso-arquillian b/packages/docker/src/main/docker/docker-files/Dockerfile.mso-arquillian
index c279597d34..6dfdfa3d1b 100644
--- a/packages/docker/src/main/docker/docker-files/Dockerfile.mso-arquillian
+++ b/packages/docker/src/main/docker/docker-files/Dockerfile.mso-arquillian
@@ -77,6 +77,8 @@ COPY jboss-configs/configuration/application-roles.properties $JBOSS_HOME/standa
RUN echo "JAVA_OPTS=\"\$JAVA_OPTS -Xms64m -Xmx4g -XX:MetaspaceSize=96M -XX:MaxMetaspaceSize=1g -Djboss.bind.address=0.0.0.0 -Djboss.bind.address.management=0.0.0.0 -Dmso.db=MARIADB -Dmso.config.path=/etc/mso/config.d/ -javaagent:/tmp/jacoco/lib/jacocoagent.jar=destfile=/shared/jacoco-it.exec,dumponexit=true,append=false,includes=com.att.*:org.openecomp.*\"" >> $JBOSS_HOME/bin/standalone.conf
RUN echo "LAUNCH_JBOSS_IN_BACKGROUND=true" >> $JBOSS_HOME/bin/standalone.conf
+RUN mkdir -p /etc/mso/config.d/ASDC && chown -R jboss:jboss /etc/mso/config.d/ASDC && chmod u+xrw /etc/mso/config.d/ASDC
+
### Open Ports
EXPOSE 8080 9990
diff --git a/packages/docker/src/main/docker/docker-files/Dockerfile.mso-chef-final b/packages/docker/src/main/docker/docker-files/Dockerfile.mso-chef-final
index 16d062ec82..2e227bef0d 100644
--- a/packages/docker/src/main/docker/docker-files/Dockerfile.mso-chef-final
+++ b/packages/docker/src/main/docker/docker-files/Dockerfile.mso-chef-final
@@ -79,6 +79,8 @@ RUN echo "LAUNCH_JBOSS_IN_BACKGROUND=true" >> $JBOSS_HOME/bin/standalone.conf
COPY ./maven/artifacts/* $JBOSS_HOME/standalone/deployments/
+RUN mkdir -p /etc/mso/config.d/ASDC && chown -R jboss:jboss /etc/mso/config.d/ASDC && chmod u+xrw /etc/mso/config.d/ASDC
+
### Open Ports
EXPOSE 8080