Add initial BuildConfig for koschei
This commit is contained in:
parent
cb2b51c0b8
commit
c712da42f8
2 changed files with 31 additions and 0 deletions
|
@ -17,3 +17,7 @@
|
|||
- role: openshift/imagestream
|
||||
app: koschei
|
||||
imagename: koschei-web
|
||||
- role: openshift/object
|
||||
app: koschei
|
||||
template: buildconfig.yml
|
||||
objectname: buildconfig.yml
|
||||
|
|
27
roles/openshift-apps/koschei/templates/buildconfig.yml
Normal file
27
roles/openshift-apps/koschei/templates/buildconfig.yml
Normal file
|
@ -0,0 +1,27 @@
|
|||
apiVersion: v1
|
||||
items:
|
||||
- apiVersion: v1
|
||||
kind: BuildConfig
|
||||
metadata:
|
||||
labels:
|
||||
build: koschei-web
|
||||
name: koschei-web
|
||||
spec:
|
||||
runPolicy: Serial
|
||||
source:
|
||||
dockerfile: |-
|
||||
FROM fedora-minimal:28
|
||||
RUN microdnf install koschei-frontend-fedora
|
||||
EXPOSE 80
|
||||
CMD httpd -DFOREGROUND
|
||||
type: Dockerfile
|
||||
strategy:
|
||||
type: Docker
|
||||
dockerStrategy:
|
||||
noCache: false
|
||||
output:
|
||||
to:
|
||||
kind: ImageStreamTag
|
||||
name: koschei-web:latest
|
||||
kind: List
|
||||
metadata: {}
|
Loading…
Add table
Add a link
Reference in a new issue