-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#32 - Use ubi9/openjdk-17-runtime as base image
- Loading branch information
1 parent
8702b76
commit edd866c
Showing
1 changed file
with
7 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |