![]() ![]() > Creating resources with label build=jdk-us-app. Platform for building and running plain Java applications (fat-jar and flat classpath) > Found image c1f5b31 (2 months old) in image stream "openshift/java:11" under tag "latest" for "java:11" Log in to the OpenShift instance by running the following command and by providing your credentials:Ĭreate a new binary build, and specify the image stream and the application’s name: Copy the built JAR archive to the deployments/ subdirectory:ĭependency-reduced-pom.xml pom.xml README src target $ mkdir -p ocp/deployments $ cp target/undertow-servlet.jar ocp/deployments/ Structure the directory hierarchy containing the web application data for the application to deploy.Ĭreate a main directory for the binary build on the local file system and deployments/ subdirectory within it. Prepare the directory structure on the local file system.Ĭopy the application archives in the deployments/ sub-directory (where the main binary build directory) to the standard deployments folder (where the image is build on OpenShift). Building Undertow Servlet Example 1.0.0.Final ![]() $ cd openshift-quickstarts/undertow-servlet/ $ mvn clean package Configuration environment variables with default values Configuration environment variables"ĥ.3.1. Configuration environment variables"Ĭollapse section "5.3. Running flat classpath JAR on Java source-to-image for OpenShiftĮxpand section "5.3. Remote debugging Java application for OpenShift imageĤ.2. Example workflows for Java S2I on OpenShift"Ĥ.1. Example workflows for Java S2I on OpenShift"Ĭollapse section "4. Example workflows for Java S2I on OpenShiftĮxpand section "4. Building and deploying Java applications from binary artifactsĤ. Building and deploying Java applications with source-to-image for OpenShiftģ.2. ![]() Using Java source-to-image for OpenShift"ģ.1. Using Java source-to-image for OpenShift"Ĭollapse section "3. Using Java source-to-image for OpenShiftĮxpand section "3. Introduction to Red Hat Java source-to-image for OpenShift"ģ. Introduction to Red Hat Java source-to-image for OpenShift"Ĭollapse section "1. Introduction to Red Hat Java source-to-image for OpenShiftĮxpand section "1. Providing feedback on Red Hat documentationġ. Using OpenJDK 11 source-to-image for OpenShift ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |