-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathjkube-jetty9.yaml
51 lines (44 loc) · 1.25 KB
/
jkube-jetty9.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
schema_version: 1
name: "quay.io/jkube/jkube-jetty9"
description: "Base image for Jetty 9 webapp deployments"
version: "latest"
from: "jetty:9.4.56-jre21-alpine-eclipse-temurin"
labels:
- name: "io.k8s.display-name"
value: "Eclipse JKube - Jetty 9"
- name: "io.k8s.description"
value: "Base image for Jetty 9 webapp deployments"
- name: "io.openshift.tags"
value: "builder,jkube,jetty"
- name: "io.openshift.s2i.scripts-url"
value: "image:///usr/local/s2i"
- name: "io.openshift.s2i.destination"
value: "/tmp"
- name: "maintainer"
value: "Eclipse JKube Team <[email protected]>"
envs:
- name: DEPLOYMENTS_DIR
value: "/deployments"
- name: JETTY_HOME
value: "/usr/local/jetty"
description: Jetty's home directory. For legacy support, webapps can be deployed in the webapps subdirectory, JETTY_BASE is preferred.
- name: JETTY_BASE
value: "/var/lib/jetty"
description: Webapps should be deployed in webapps subdirectory.
- name: TMPDIR
value: "/tmp/jetty"
- name: PATH
value: "$PATH:$JETTY_HOME/bin:/usr/local/s2i"
packages:
manager: microdnf
modules:
repositories:
- path: modules
install:
- name: s2i-jetty
ports:
- value: 8080
run:
user: 1000
cmd:
- "/usr/local/s2i/run"