Skip to content

Commit

Permalink
revert unnecessary edits
Browse files Browse the repository at this point in the history
  • Loading branch information
mpeddada1 committed May 31, 2024
1 parent 50caa31 commit 1c82b65
Showing 1 changed file with 3 additions and 24 deletions.
27 changes: 3 additions & 24 deletions examples/helloworld/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -39,30 +39,9 @@
<artifactId>jib-maven-plugin</artifactId>
<version>${jib-maven-plugin.version}</version>
<configuration>
<from>
<image>eclipse-temurin:11</image>
<platforms>
<!-- If wrong arch/os is used, you get
WARNING: The requested image's platform (linux/arm64) does not match the
detected host platform (linux/amd64) and no specific platform was requested
-->
<!-- Uncomment to see mvn compile:jibDockerBuild fail -->
<platform>
<architecture>arm64</architecture>
<os>linux</os>
</platform>
<platform>
<architecture>amd64</architecture>
<os>windows</os>
</platform>
</platforms>
</from>
<to>
<image>my-multi-platform-image</image>
</to>
<container>
<mainClass>example.HelloWorld</mainClass>
</container>
<to>
<image>gcr.io/REPLACE-WITH-YOUR-GCP-PROJECT/image-built-with-jib</image>
</to>
</configuration>
<executions>
<execution>
Expand Down

0 comments on commit 1c82b65

Please sign in to comment.