blob: f147c77fcb68d9eddea067e49e280de6d578f7e1 [file] [log] [blame]
#
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
#
schema_version: 1
name: "quay.io/kiegroup/kogito-runtime-jvm"
version: "999-SNAPSHOT"
from: "registry.access.redhat.com/ubi8/ubi-minimal:latest"
description: "Runtime image for Kogito based on Quarkus or Springboot JVM image"
labels:
- name: "io.openshift.s2i.scripts-url"
value: "image:///usr/local/s2i"
- name: "io.openshift.s2i.destination"
value: "/tmp"
- name: "io.openshift.expose-services"
value: "8080:http"
- name: "io.quarkus.platform.version"
value: "3.2.9.Final"
- name: "org.kie.kogito.version"
value: "999-SNAPSHOT"
- name: "maintainer"
value: "Apache KIE <dev@kie.apache.org>"
- name: "io.k8s.description"
value: "Runtime image for Kogito based on Quarkus or Spring Boot JVM image"
- name: "io.k8s.display-name"
value: "Kogito based on Quarkus or Spring Boot JVM image"
- name: "io.openshift.tags"
value: "runtime,kogito,quarkus,springboot,jvm"
- name: "io.openshift.s2i.assemble-input-files"
value: "/home/kogito/bin"
envs:
- name: "SCRIPT_DEBUG"
example: "true"
description: "If set to true, ensures that the bash scripts are executed with the -x option, printing the commands and their arguments as they are executed. Also debug JVM initialization."
- name: "RUNTIME_TYPE"
example: "springboot"
description: "Defines the runtime type of your Kogito application. Allowed values are 'springboot' or 'quarkus'. Default value is quarkus."
- name: JAVA_OPTIONS
example: "-Dquarkus.log.level=DEBUG"
description: JVM options passed to the Java command.
packages:
manager: microdnf
modules:
repositories:
- path: modules
install:
- name: org.kie.kogito.image.dependencies
- name: org.kie.kogito.system.user
- name: org.kie.kogito.logging
- name: org.kie.kogito.launch.scripts
- name: org.kie.kogito.openjdk.headless
version: "17"
- name: org.kie.kogito.dynamic.resources
- name: org.kie.kogito.project.versions
- name: org.kie.kogito.s2i.core
- name: org.kie.kogito.runtime.jvm
- name: org.kie.kogito.security.custom.truststores
ports:
- value: 8080
run:
workdir: "/home/kogito"
user: 1001