Skip to content

Commit

Permalink
perf($OpenJDK): migrate to adoptopenjdk/openjdk11
Browse files Browse the repository at this point in the history
adoptopenjdk/openjdk11:x86_64-alpine-jre-11.0.9.1_1

[skip ci]
  • Loading branch information
johnnymillergh committed Jan 20, 2021
1 parent add05b1 commit 9b65893
Show file tree
Hide file tree
Showing 7 changed files with 20 additions and 19 deletions.
6 changes: 3 additions & 3 deletions api-gateway/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<plugin>
<groupId>com.google.cloud.tools</groupId>
<artifactId>jib-maven-plugin</artifactId>
<version>2.2.0</version>
<version>${jib-maven-plugin.version}</version>
<executions>
<!-- Bind `jib:dockerBuild` to a Maven lifecycle `verify`. Jib will build your image directly to a Docker daemon. -->
<execution>
Expand All @@ -46,8 +46,8 @@
</executions>
<configuration>
<from>
<!-- https://hub.docker.com/_/openjdk?tab=tags&page=1&ordering=last_updated&name=11.0.9.1-jre-slim -->
<image>openjdk:${openjdk.version}</image>
<!-- https://hub.docker.com/r/adoptopenjdk/openjdk11/tags?page=1&ordering=last_updated&name=alpine-jre-11.0.9.1 -->
<image>adoptopenjdk/openjdk11:${adoptopenjdk11.tag}</image>
</from>
<to>
<image>docker.io/ijohnnymiller/${project.parent.artifactId}.${project.artifactId}</image>
Expand Down
6 changes: 3 additions & 3 deletions auth-center/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<plugin>
<groupId>com.google.cloud.tools</groupId>
<artifactId>jib-maven-plugin</artifactId>
<version>2.2.0</version>
<version>${jib-maven-plugin.version}</version>
<executions>
<!-- Bind `jib:dockerBuild` to a Maven lifecycle `verify`. Jib will build your image directly to a Docker daemon. -->
<execution>
Expand All @@ -46,8 +46,8 @@
</executions>
<configuration>
<from>
<!-- https://hub.docker.com/_/openjdk?tab=tags&page=1&ordering=last_updated&name=11.0.9.1-jre-slim -->
<image>openjdk:${openjdk.version}</image>
<!-- https://hub.docker.com/r/adoptopenjdk/openjdk11/tags?page=1&ordering=last_updated&name=alpine-jre-11.0.9.1 -->
<image>adoptopenjdk/openjdk11:${adoptopenjdk11.tag}</image>
</from>
<to>
<image>docker.io/ijohnnymiller/${project.parent.artifactId}.${project.artifactId}</image>
Expand Down
6 changes: 3 additions & 3 deletions exercise-mis/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<plugin>
<groupId>com.google.cloud.tools</groupId>
<artifactId>jib-maven-plugin</artifactId>
<version>2.2.0</version>
<version>${jib-maven-plugin.version}</version>
<executions>
<!-- Bind `jib:dockerBuild` to a Maven lifecycle `verify`. Jib will build your image directly to a Docker daemon. -->
<execution>
Expand All @@ -46,8 +46,8 @@
</executions>
<configuration>
<from>
<!-- https://hub.docker.com/_/openjdk?tab=tags&page=1&ordering=last_updated&name=11.0.9.1-jre-slim -->
<image>openjdk:${openjdk.version}</image>
<!-- https://hub.docker.com/r/adoptopenjdk/openjdk11/tags?page=1&ordering=last_updated&name=alpine-jre-11.0.9.1 -->
<image>adoptopenjdk/openjdk11:${adoptopenjdk11.tag}</image>
</from>
<to>
<image>docker.io/ijohnnymiller/${project.parent.artifactId}.${project.artifactId}</image>
Expand Down
6 changes: 3 additions & 3 deletions muscle-mis/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<plugin>
<groupId>com.google.cloud.tools</groupId>
<artifactId>jib-maven-plugin</artifactId>
<version>2.2.0</version>
<version>${jib-maven-plugin.version}</version>
<executions>
<!-- Bind `jib:dockerBuild` to a Maven lifecycle `verify`. Jib will build your image directly to a Docker daemon. -->
<execution>
Expand All @@ -46,8 +46,8 @@
</executions>
<configuration>
<from>
<!-- https://hub.docker.com/_/openjdk?tab=tags&page=1&ordering=last_updated&name=11.0.9.1-jre-slim -->
<image>openjdk:${openjdk.version}</image>
<!-- https://hub.docker.com/r/adoptopenjdk/openjdk11/tags?page=1&ordering=last_updated&name=alpine-jre-11.0.9.1 -->
<image>adoptopenjdk/openjdk11:${adoptopenjdk11.tag}</image>
</from>
<to>
<image>docker.io/ijohnnymiller/${project.parent.artifactId}.${project.artifactId}</image>
Expand Down
3 changes: 2 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@

<!-- Version Definitions. -->
<java.version>11</java.version>
<openjdk.version>11.0.9.1-jre-slim</openjdk.version>
<adoptopenjdk11.tag>x86_64-alpine-jre-11.0.9.1_1</adoptopenjdk11.tag>
<jib-maven-plugin.version>2.7.1</jib-maven-plugin.version>
<spring-cloud.version>Hoxton.SR9</spring-cloud.version>
<spring-content.version>1.0.0.M5</spring-content.version>
<spring-boot-admin-starter-client.version>2.3.1</spring-boot-admin-starter-client.version>
Expand Down
6 changes: 3 additions & 3 deletions service-registry/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<plugin>
<groupId>com.google.cloud.tools</groupId>
<artifactId>jib-maven-plugin</artifactId>
<version>2.2.0</version>
<version>${jib-maven-plugin.version}</version>
<executions>
<!-- Bind `jib:dockerBuild` to a Maven lifecycle `verify`. Jib will build your image directly to a Docker daemon. -->
<execution>
Expand All @@ -46,8 +46,8 @@
</executions>
<configuration>
<from>
<!-- https://hub.docker.com/_/openjdk?tab=tags&page=1&ordering=last_updated&name=11.0.9.1-jre-slim -->
<image>openjdk:${openjdk.version}</image>
<!-- https://hub.docker.com/r/adoptopenjdk/openjdk11/tags?page=1&ordering=last_updated&name=alpine-jre-11.0.9.1 -->
<image>adoptopenjdk/openjdk11:${adoptopenjdk11.tag}</image>
</from>
<to>
<image>docker.io/ijohnnymiller/${project.parent.artifactId}.${project.artifactId}</image>
Expand Down
6 changes: 3 additions & 3 deletions spring-boot-admin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<plugin>
<groupId>com.google.cloud.tools</groupId>
<artifactId>jib-maven-plugin</artifactId>
<version>2.2.0</version>
<version>${jib-maven-plugin.version}</version>
<executions>
<!-- Bind `jib:dockerBuild` to a Maven lifecycle `verify`. Jib will build your image directly to a Docker daemon. -->
<execution>
Expand All @@ -46,8 +46,8 @@
</executions>
<configuration>
<from>
<!-- https://hub.docker.com/_/openjdk?tab=tags&page=1&ordering=last_updated&name=11.0.9.1-jre-slim -->
<image>openjdk:${openjdk.version}</image>
<!-- https://hub.docker.com/r/adoptopenjdk/openjdk11/tags?page=1&ordering=last_updated&name=alpine-jre-11.0.9.1 -->
<image>adoptopenjdk/openjdk11:${adoptopenjdk11.tag}</image>
</from>
<to>
<image>docker.io/ijohnnymiller/${project.parent.artifactId}.${project.artifactId}</image>
Expand Down

0 comments on commit 9b65893

Please sign in to comment.