forked from quarkusio/quarkus-images
-
Notifications
You must be signed in to change notification settings - Fork 0
/
quarkus-native-s2i.yaml
55 lines (48 loc) · 1.36 KB
/
quarkus-native-s2i.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
schema_version: 1
from: "registry.access.redhat.com/ubi8/ubi-minimal:8.0"
name: "quay.io/quarkus/ubi-quarkus-native-s2i"
version: "SNAPSHOT"
labels:
- name: "io.openshift.s2i.scripts-url"
value: "image:///usr/libexec/s2i"
- name: "io.openshift.s2i.destination"
value: "/tmp"
- name: "io.openshift.expose-services"
value: "8080:http"
- name: "io.k8s.description"
value: "Quarkus.io S2I image for building Kubernetes Native Java GraalVM applications and running its Native Executables"
- name: "io.k8s.display-name"
value: "Quarkus.io S2I (GraalVM Native)"
- name: "io.openshift.tags"
value: "builder,java,quarkus,native"
- name: "maintainer"
value: "Quarkus Team <quarkus-dev@googlegroups.com>"
ports:
- value: 8080
packages:
manager: microdnf
modules:
repositories:
- path: modules
install:
- name: common-packages
- name: encoding
- name: add-quarkus-user
- name: maven-binary
version: "3.6.3"
- name: maven-config
- name: graalvm
version: _version_
- name: gradle-binary
version: "6.3"
- name: quarkus-native-s2i-scripts
envs:
- name: "PATH"
value: "$PATH:$JAVA_HOME/bin"
# Use the run script as default since we are working as an hybrid image which can be
# used directly to. (If we were a plain s2i image we would print the usage info here.)
run:
user: 1001
workdir: "${QUARKUS_HOME}"
cmd:
- "/usr/libexec/s2i/run"