Use JDK17 images in Dockerfile (#17076)

* use jdk17 images in Dockerfile

* use amazoncorretto:17.0.8-alpine3.18
This commit is contained in:
William Cheng 2023-11-16 10:16:04 +08:00 committed by GitHub
parent d9920a5b81
commit bae20c1887
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
FROM openjdk:11.0-jre-buster
FROM amazoncorretto:17.0.8-alpine3.18
ADD target/openapi-generator-cli.jar /opt/openapi-generator/modules/openapi-generator-cli/target/openapi-generator-cli.jar

View File

@ -1,4 +1,4 @@
FROM openjdk:11
FROM amazoncorretto:17.0.8-alpine3.18
WORKDIR /generator