-
Notifications
You must be signed in to change notification settings - Fork 27
/
Copy pathimage.java-inc.yaml
54 lines (53 loc) · 1.33 KB
/
image.java-inc.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
name: "radanalyticsio/radanalytics-java-spark"
version: 1.0
release: dev
from: "fabric8/s2i-java:2.2.0"
labels:
- name: "io.k8s.description"
value: "Platform for building a radanalytics java spark app"
- name: "io.k8s.display-name"
value: "radanalytics java_spark"
- name: "io.openshift.expose-services"
value: "8080:http"
- name: "io.openshift.s2i.scripts-url"
value: "image:///usr/local/s2i"
- name: "io.openshift.tags"
value: "builder,radanalytics,java_spark"
envs:
- name: RADANALYTICS_JAVA_SPARK
value: 1.0
- name: PATH
value: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/spark/bin
- name: SPARK_HOME
value: /opt/spark
- name: SPARK_INSTALL
value: /opt/spark-distro
- name: APP_ROOT
value: /opt/app-root
- name: STI_SCRIPTS_PATH
value: /usr/local/s2i
- name: APP_LANG
value: java
- name: SPARK_VERSION
value: 2.4.0
modules:
repositories:
- path: modules
install:
- name: java
- name: common
packages:
install:
- tar
- wget
- rsync
artifacts:
- url: https://github.com/radanalyticsio/oshinko-cli/releases/download/v0.6.1/oshinko_v0.6.1_linux_amd64.tar.gz
md5: ce740893afa0801134151ff83e7f21e6
run:
user: 185
cmd:
- "/usr/local/s2i/usage"
entrypoint:
- "/opt/app-root/etc/bootstrap.sh"