Make images arm-64 compatible
[ccsdk/distribution.git] / ansible-server / pom.xml
index 662864c..08ad7fb 100644 (file)
@@ -1,19 +1,17 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0"
-       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-       xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
 
        <parent>
                <groupId>org.onap.ccsdk.parent</groupId>
                <artifactId>odlparent-lite</artifactId>
-               <version>1.2.1-SNAPSHOT</version>
+               <version>1.2.2-SNAPSHOT</version>
        </parent>
 
        <modelVersion>4.0.0</modelVersion>
        <packaging>pom</packaging>
        <groupId>org.onap.ccsdk.distribution</groupId>
        <artifactId>ansible-server</artifactId>
-       <version>0.4.1-SNAPSHOT</version>
+       <version>0.4.2-SNAPSHOT</version>
 
        <name>ccsdk :: distribution :: ${project.artifactId}</name>
        <description>Creates ansible-server Docker container</description>
                                                        </arguments>
                                                </configuration>
                                        </execution>
+                                       <execution>
+                                                <id>change shell permissions</id>
+                                                <phase>process-sources</phase>
+                                                <goals>
+                                                          <goal>exec</goal>
+                                                </goals>
+                                                <configuration>
+                                                         <executable>/usr/bin/find</executable>
+                                                 <arguments>
+                                                       <argument>${basedir}/target/docker-stage/ansible-server</argument>
+                                                       <argument>-name</argument>
+                                                       <argument>*.sh</argument>
+                                                       <argument>-exec</argument>
+                                                       <argument>chmod</argument>
+                                                       <argument>+x</argument>
+                                                       <argument>{}</argument>
+                                                       <argument>;</argument>
+                                                 </arguments>
+                                               </configuration>
+                                       </execution>
                                </executions>
                        </plugin>
                </plugins>
                                        <plugin>
                                                <groupId>io.fabric8</groupId>
                                                <artifactId>docker-maven-plugin</artifactId>
-                                               <version>0.16.5</version>
+                                               <version>0.28.0</version>
                                                <inherited>false</inherited>
                                                <configuration>
                                                        <images>
                                                                        <build>
                                                                                <cleanup>try</cleanup>
                                                                                <dockerFileDir>${basedir}/target/docker-stage</dockerFileDir>
-                                                                               <dockerFile>${basedir}/target/docker-stage/Dockerfile</dockerFile>
+                                                                               <dockerFile>Dockerfile</dockerFile>
                                                                                <tags>
                                                                                        <tag>${project.docker.latestminortag.version}</tag>
                                                                                        <tag>${project.docker.latestfulltag.version}</tag>