feat(migration-assistant): add Dockerfile
MODIFY
migration-assistant/pom.xml
migration-assistant/pom.xml
</plugins>
</build>
+ <profiles>
+ <profile>
+ <id>docker</id>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>io.fabric8</groupId>
+ <artifactId>docker-maven-plugin</artifactId>
+ <version>${version.docker.plugin}</version>
+ <executions>
+ <execution>
+ <id>docker-build</id>
+ <goals>
+ <goal>build</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+ <images>
+ <image>
+ <name>apiman/migration-assistant</name>
+ <build>
+ <dockerFileDir>${project.basedir}/src/main/docker</dockerFileDir>
+ <assembly>
+ <inline>
+ <fileSets>
+ <fileSet>
+ <includes>
+ <include>target/${project.artifactId}-${project.version}-shaded.jar</include>
+ </includes>
+ <outputDirectory></outputDirectory>
+ <filtered>false</filtered>
+ <directoryMode>0755</directoryMode>
+ <fileMode>0755</fileMode>
+ </fileSet>
+ </fileSets>
+ </inline>
+ </assembly>
+ </build>
+ </image>
+ </images>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
</project>
\ No newline at end of file

MODIFY
migration-assistant/src/main/docker/Dockerfile
migration-assistant/src/main/docker/Dockerfile
+FROM adoptopenjdk/openjdk11:alpine-slim
+
+ADD maven/target/${project.artifactId}-${project.version}-shaded.jar /opt/apiman/apiman-migration-assistant.jar
+
+ENTRYPOINT ["java", "-jar", "/opt/apiman/apiman-migration-assistant.jar"]
\ No newline at end of file

feat(migration-assistant): add Dockerfile