diff --git a/gradle-example/Dockerfile b/gradle-example/Dockerfile index 8a377a13..0942f50f 100644 --- a/gradle-example/Dockerfile +++ b/gradle-example/Dockerfile @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -FROM eclipse-temurin:21.0.7_6-jdk-alpine +FROM eclipse-temurin:21.0.9_10-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"] \ No newline at end of file diff --git a/maven-example/Dockerfile b/maven-example/Dockerfile index 037d6c89..f5d32255 100644 --- a/maven-example/Dockerfile +++ b/maven-example/Dockerfile @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -FROM eclipse-temurin:21.0.7_6-jdk-alpine +FROM eclipse-temurin:21.0.9_10-jdk-alpine ARG JAR_FILE=JAR_FILE_MUST_BE_SPECIFIED_AS_BUILD_ARG COPY ${JAR_FILE} app.jar ENTRYPOINT ["java", "-jar", "/app.jar"]