[DOCKER] Fix dgbuilder
Fix dgbuilder docker container build
Change-Id: I0601bcd807a7d79a01788fb2d021554f013e43ea
Signed-off-by: Timoney, Daniel (dt5972) <dtimoney@att.com>
Former-commit-id: b93e5937498c01c8b1969104a5045d75d9985895
diff --git a/installation/dgbuilder/pom.xml b/installation/dgbuilder/pom.xml
index 953e309..f3940b1 100644
--- a/installation/dgbuilder/pom.xml
+++ b/installation/dgbuilder/pom.xml
@@ -84,7 +84,7 @@
<executions>
<execution>
<id>generate-images</id>
- <phase>generate-sources</phase>
+ <phase>package</phase>
<goals>
<goal>build</goal>
</goals>
@@ -132,6 +132,20 @@
<version>1.5.0</version>
<executions>
<execution>
+ <id>Make-stage-dir</id>
+ <phase>generate-sources</phase>
+ <goals>
+ <goal>exec</goal>
+ </goals>
+ <configuration>
+ <executable>/bin/mkdir</executable>
+ <arguments>
+ <argument>-p</argument>
+ <argument>${basedir}/target/docker-stage/opt/openecomp/sdnc</argument>
+ </arguments>
+ </configuration>
+ </execution>
+ <execution>
<id>Unzip dgbuilder</id>
<phase>generate-sources</phase>
<goals>