Skip to content

Commit

Permalink
Configure jib to use Jetty 11 and Java 17
Browse files Browse the repository at this point in the history
  • Loading branch information
arey committed Dec 29, 2023
1 parent 96cc00f commit aebf338
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,14 @@
<groupId>com.google.cloud.tools</groupId>
<artifactId>jib-maven-plugin</artifactId>
<version>${docker.jib-maven-plugin.version}</version>
<!-- See https://github.com/GoogleContainerTools/jib/tree/master/jib-maven-plugin -->
<configuration>
<from>
<image>jetty:11.0-jdk17</image>
</from>
<container>
<entrypoint>java,-jar,/usr/local/jetty/start.jar</entrypoint>
</container>
<to>
<image>docker.io/${docker.image.prefix}/${project.artifactId}</image>
<tags>
Expand Down

0 comments on commit aebf338

Please sign in to comment.