diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/assembly/dep.xml | 8 | ||||
-rw-r--r-- | src/main/scripts/docker-entry.sh | 5 |
2 files changed, 10 insertions, 3 deletions
diff --git a/src/assembly/dep.xml b/src/assembly/dep.xml index 86f9ffc1..cb72aa4a 100644 --- a/src/assembly/dep.xml +++ b/src/assembly/dep.xml @@ -66,6 +66,13 @@ </includes> <outputDirectory>specs</outputDirectory> </fileSet> + <fileSet> + <directory>./</directory> + <includes> + <include>Dockerfile</include> + </includes> + <outputDirectory>./</outputDirectory> + </fileSet> </fileSets> <dependencySets> <dependencySet> @@ -76,3 +83,4 @@ </dependencySet> </dependencySets> </assembly> + diff --git a/src/main/scripts/docker-entry.sh b/src/main/scripts/docker-entry.sh index e8766d6f..112318b2 100644 --- a/src/main/scripts/docker-entry.sh +++ b/src/main/scripts/docker-entry.sh @@ -1,5 +1,4 @@ #!/bin/sh - ### # ============LICENSE_START======================================================= # PROJECT @@ -19,8 +18,7 @@ # limitations under the License. # ============LICENSE_END========================================================= ### - - +echo \$COLLECTOR_IP \$(hostname).dcae.simpledemo.openecomp.org >> /etc/hosts if [ -z "$CONSUL_HOST" ] || [ -z "$CONFIG_BINDING_SERVICE" ] || [ -z "$HOSTNAME" ]; then echo "INFO: USING STANDARD CONTROLLER" /opt/app/manager/start-manager.sh @@ -30,3 +28,4 @@ else /opt/app/VESCollector/bin/VESrestfulCollector.sh start & fi #while true; do sleep 1000; done + |