Skip to content
This repository has been archived by the owner on Sep 21, 2020. It is now read-only.

Define and implement "Flex" context provider #36

Open
AkihiroSuda opened this issue Apr 23, 2018 · 2 comments
Open

Define and implement "Flex" context provider #36

AkihiroSuda opened this issue Apr 23, 2018 · 2 comments
Labels

Comments

@AkihiroSuda
Copy link
Member

maybe like

apiVersion: cbi.containerbuilding.github.io/v1alpha1
kind: FlexContextProvider
metadata:
  name: foo
  labels:
    mediaType: application/tar+gzip
spec:
  template:
    spec:
      containers:
      - name: foo
         commands: ["cat", "a.tgz"]

---

apiVersion: cbi.containerbuilding.github.io/v1alpha1
kind: BuildJob
spec:
  context:
    kind: flex
    flex:
      providerRef:
        name: foo
      options:
        bar: baz 
   
@AkihiroSuda
Copy link
Member Author

memo: repo2docker as a FlexContextProvider? https://twitter.com/_AkihiroSuda_/status/989330234611662848

@AkihiroSuda
Copy link
Member Author

This should be also useful for S2I Dockerfile generator openshift/source-to-image#878

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant