Last active
January 23, 2017 20:51
-
-
Save dudash/7fca2eb1f864e11337c7cca4e9e8ce29 to your computer and use it in GitHub Desktop.
This a custom build config (defined in yaml) that can be used in OpenShift to create a S2I docker image. For use with `oc create`
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kind: "BuildConfig" | |
apiVersion: "v1" | |
metadata: | |
name: "swift-30-centos7-build" | |
spec: | |
triggers: | |
- type: "GitHub" | |
github: | |
secret: "secret101" | |
source: | |
type: "Git" | |
git: | |
uri: "git://github.com/dudash/s2i-swift.git" | |
strategy: | |
type: "Custom" | |
customStrategy: | |
from: | |
kind: "DockerImage" | |
name: "openshift/sti-image-builder" | |
env: | |
- name: "IMAGE_NAME" | |
value: "openshift/swift-30-centos7" | |
- name: "CONTEXT_DIR" | |
value: "/3.0/" | |
exposeDockerSocket: true | |
output: | |
to: | |
kind: "ImageStreamTag" | |
name: "swift:latest" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hmm... openshift/sti-image-builder isn't there.... there are however these:
mfojtik/sti-image-builder
openshift/origin-custom-docker-builder
These seem to be "Source" strategy type images
openshift/origin-sti-builder
registry.access.redhat.com/openshift3/ose-sti-builder