Badges: add cyrus-sasl-gssapi to the builder image
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
parent
e4c077ce23
commit
21191fe68f
3 changed files with 41 additions and 2 deletions
|
@ -27,3 +27,8 @@ items:
|
|||
scheduled: true
|
||||
referencePolicy:
|
||||
type: Source
|
||||
# The Python 3.10 builder image plus custom packages
|
||||
- apiVersion: image.openshift.io/v1
|
||||
kind: ImageStream
|
||||
metadata:
|
||||
name: python-310-custom-builder
|
||||
|
|
|
@ -0,0 +1,8 @@
|
|||
FROM quay.io/fedora/python-310:latest
|
||||
LABEL \
|
||||
name="python-310-badges-custom-builder" \
|
||||
vendor="Fedora Infrastructure" \
|
||||
license="MIT"
|
||||
USER root
|
||||
RUN dnf install -y cyrus-sasl-gssapi
|
||||
USER 1001
|
|
@ -2,6 +2,32 @@
|
|||
---
|
||||
apiVersion: build.openshift.io/v1
|
||||
kind: BuildConfig
|
||||
metadata:
|
||||
name: python-310-custom-builder
|
||||
labels:
|
||||
app: badges
|
||||
build: python-310-custom-builder
|
||||
spec:
|
||||
runPolicy: Serial
|
||||
source:
|
||||
type: Dockerfile
|
||||
dockerfile: |-
|
||||
{{ load_file('Dockerfile-builder-image') | indent(6) }}
|
||||
strategy:
|
||||
type: Docker
|
||||
dockerStrategy:
|
||||
from:
|
||||
kind: ImageStreamTag
|
||||
name: python-310:latest
|
||||
output:
|
||||
to:
|
||||
kind: ImageStreamTag
|
||||
name: python-310-custom-builder:latest
|
||||
triggers:
|
||||
- type: ImageChange
|
||||
---
|
||||
apiVersion: build.openshift.io/v1
|
||||
kind: BuildConfig
|
||||
metadata:
|
||||
name: fedbadges
|
||||
labels:
|
||||
|
@ -21,7 +47,7 @@ spec:
|
|||
sourceStrategy:
|
||||
from:
|
||||
kind: ImageStreamTag
|
||||
name: python-310:latest
|
||||
name: python-310-custom-builder:latest
|
||||
output:
|
||||
to:
|
||||
kind: ImageStreamTag
|
||||
|
@ -59,7 +85,7 @@ spec:
|
|||
sourceStrategy:
|
||||
from:
|
||||
kind: ImageStreamTag
|
||||
name: python-310:latest
|
||||
name: python-310-custom-builder:latest
|
||||
output:
|
||||
to:
|
||||
kind: ImageStreamTag
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue