Skip to content

Commit

Permalink
#32 - Use ubi9/openjdk-17-runtime as base image
Browse files Browse the repository at this point in the history
  • Loading branch information
eidottermihi committed Jun 13, 2023
1 parent 8702b76 commit edd866c
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions ad2image-app/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
FROM registry.access.redhat.com/ubi8/openjdk-17:latest
# Dockerfiles may only contain a FROM and the application data.
# For Java applications use /ubi8/openjdk-11 or /ubi8/openjdk-17 as Base Image when using OpenShift S2I builds
# For Java applications use /ubi9/openjdk-11-runtime or /ubi9/openjdk-17-runtime as Base Image when using traditional Dockerfile
# for documentation please see https://access.redhat.com/documentation/en-us/red_hat_jboss_middleware_for_openshift/3/html/red_hat_java_s2i_for_openshift/
# All other variations must be approved by KM8
FROM registry.access.redhat.com/ubi9/openjdk-17-runtime:latest

COPY target/*.jar /deployments/spring-boot-application.jar
COPY target/*.jar /deployments/application.jar

0 comments on commit edd866c

Please sign in to comment.