From 72f26cbf07ba87288b2e48a655a3b54fa638e2af Mon Sep 17 00:00:00 2001 From: Rob Daugherty Date: Thu, 21 Sep 2017 10:00:54 -0400 Subject: 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 --- packages/docker/src/main/docker/docker-files/Dockerfile.mso-arquillian | 2 ++ packages/docker/src/main/docker/docker-files/Dockerfile.mso-chef-final | 2 ++ 2 files changed, 4 insertions(+) (limited to 'packages/docker') 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 -- cgit 1.2.3-korg