Jig Google

Automatiza las aplicaciones Java

Guia:

https://jaxenter.com/jib-java-containerization-146647.html

Agregar

 <build>
        <finalName>${project.artifactId}</finalName> 
        <plugins>
            <plugin>
                <groupId>com.google.cloud.tools</groupId>
                <artifactId>jib-maven-plugin</artifactId>
                <version>0.9.0</version>
                <configuration>
                    <to>
                        <image>mycompany/${project.artifactId}:${project.version}</image>
                    </to>
                </configuration>
            </plugin>
        </plugins>
    </build>

Arrancar docker

Construir la imagen

Construir el demonio en docker

Archivo pom.xml

Last updated

Was this helpful?