File tree Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ apiVersion : template.openshift.io/v1
3
+ kind : Template
4
+ metadata :
5
+ annotations :
6
+ description : Template to produce a light weight imagestream and buildconfig for a multistage build
7
+ name : multistage-build-template
8
+ objects :
9
+ - apiVersion : image.openshift.io/v1
10
+ kind : ImageStream
11
+ metadata :
12
+ name : lightweight-image
13
+ spec :
14
+ lookupPolicy :
15
+ local : false
16
+ - apiVersion : build.openshift.io/v1
17
+ kind : BuildConfig
18
+ metadata :
19
+ name : multistage-buildconfig
20
+ spec :
21
+ source :
22
+ type : Git
23
+ git :
24
+ uri : https://github.com/jhuttana/openjdk.git
25
+ ref : phase-4
26
+ contextDir : templates/jlink/
27
+ strategy :
28
+ type : Docker
29
+ dockerStrategy :
30
+ dockerfilePath : Dockerfile
31
+ output :
32
+ to :
33
+ kind : ImageStreamTag
34
+ name : lightweight-image:latest # Tag for the final output image
35
+ triggers :
36
+ - type : ConfigChange
You can’t perform that action at this time.
0 commit comments