Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .java-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
17
21
9 changes: 4 additions & 5 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
</licenses>

<properties>
<java.version>17</java.version>
<java.version>21</java.version>
<jib.tag>latest</jib.tag>
<git.commit.id>unknown</git.commit.id>
</properties>
Expand Down Expand Up @@ -241,7 +241,7 @@
<plugin>
<groupId>com.google.cloud.tools</groupId>
<artifactId>jib-maven-plugin</artifactId>
<version>3.3.1</version>
<version>3.4.6</version>
<dependencies>
<!-- This isn't strictly needed but makes sense to include -->
<dependency>
Expand All @@ -259,8 +259,7 @@
</pluginExtension>
</pluginExtensions>
<from>
<!-- The alpine images are small but don't support arm64 so use ubuntu instead -->
<image>eclipse-temurin:17.0.8.1_1-jre-jammy</image>
<image>gcr.io/distroless/java21-debian12</image>
<platforms>
<platform>
<architecture>arm64</architecture>
Expand All @@ -281,7 +280,7 @@
</to>
<container>
<!-- As we're in docker we really don't want to be running as root -->
<user>nobody:nogroup</user>
<user>nonroot:nonroot</user>
<labels>
<!-- This is so that published packaged are linked to this repository -->
<org.opencontainers.image.source>
Expand Down