Skip to content

Commit

Permalink
Migrate to eclipse-temurin:21-jdk-alpin (#293)
Browse files Browse the repository at this point in the history
* Migrate to eclipse-temurin:21-jdk-alpin

* Update gradle-example/Dockerfile

* Update maven-example/Dockerfile

---------

Co-authored-by: Katie McLaughlin <katie@glasnt.com>
  • Loading branch information
NimJay and glasnt authored Sep 17, 2024
1 parent cacac8d commit 293ccd6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gradle-example/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

FROM openjdk:19-jdk-alpine
FROM eclipse-temurin:21-jdk-alpine
ARG JAR_FILE=JAR_FILE_MUST_BE_SPECIFIED_AS_BUILD_ARG
COPY ${JAR_FILE} app.jar
ENTRYPOINT ["java", "-Djava.security.edg=file:/dev/./urandom","-jar","/app.jar"]
2 changes: 1 addition & 1 deletion maven-example/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

FROM openjdk:19-jdk-alpine
FROM eclipse-temurin:21-jdk-alpine
ARG JAR_FILE=JAR_FILE_MUST_BE_SPECIFIED_AS_BUILD_ARG
COPY ${JAR_FILE} app.jar
ENTRYPOINT ["java", "-jar", "/app.jar"]

0 comments on commit 293ccd6

Please sign in to comment.