-
Notifications
You must be signed in to change notification settings - Fork 27
/
image.scala.yaml
53 lines (52 loc) · 1.62 KB
/
image.scala.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
schema_version: 1
name: "radanalytics-scala-spark"
version: 1.0
release: dev
from: "radanalyticsio/s2i-scala-container:latest"
labels:
- name: "io.k8s.description"
value: "Platform for building a radanalytics Scala Spark app"
- name: "io.k8s.display-name"
value: "radanalytics scala_spark"
- name: "io.openshift.expose-services"
value: "8080:http"
- name: "io.openshift.s2i.scripts-url"
value: "image:///usr/libexec/s2i"
- name: "io.openshift.tags"
value: "builder,radanalytics,scala_spark"
- name: "io.radanalytics.sparkdistro"
value: "https://archive.apache.org/dist/spark/spark-3.0.0/spark-3.0.0-bin-hadoop3.2.tgz"
envs:
- name: PATH
value: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/spark/bin:/opt/scala/bin:/opt/sbt/bin
- name: SPARK_HOME
value: /opt/spark
- name: SPARK_INSTALL
value: /opt/spark-distro
- name: APP_ROOT
value: /opt/app-root
- name: SBT_OPTS
value: -Dsbt.global.base=/tmp/.sbt/0.13 -Dsbt.ivy.home=/tmp/.ivy2 -Xms512M -Xmx1536M -Xss1M -XX:+CMSClassUnloadingEnabled
- name: APP_LANG
value: scala
modules:
repositories:
- path: modules
install:
- name: common
- name: spark
- name: scala
packages:
install:
- git
artifacts:
- url: https://archive.apache.org/dist/spark/spark-3.0.0/spark-3.0.0-bin-hadoop3.2.tgz
md5: c5c0af4b4b9cb21d214c7026439df236
- 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/libexec/s2i/usage"
entrypoint:
- "/opt/app-root/etc/bootstrap.sh"