Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for specifying Dockerfile to build #6

Closed
andyshinn opened this issue Jul 30, 2019 · 2 comments
Closed

Support for specifying Dockerfile to build #6

andyshinn opened this issue Jul 30, 2019 · 2 comments
Labels
enhancement This issue is a feature request

Comments

@andyshinn
Copy link

My current application has multiple Dockerfiles that are housed in a sub-directory (such as docker/images). It would be nice if there was a way to specify the Dockerfile separate from the build context.

Maybe like:

---
kind: Object
spec:
- image: myimg
---
apiVersion: kbld.k14s.io/v1alpha1
kind: Sources
sources:
- image: myimg
  path: .
  dockerfile: sandbox/containers/fake.docker
@cppforlife cppforlife added the enhancement This issue is a feature request label Jul 30, 2019
@cppforlife
Copy link
Contributor

cppforlife commented Jul 30, 2019

---
kind: Object
spec:
- image: myimg
---
apiVersion: kbld.k14s.io/v1alpha1
kind: Sources
sources:
- image: myimg
  path: .
  docker:
    dockerfile: sandbox/containers/fake.docker

@cppforlife
Copy link
Contributor

available in v0.10.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement This issue is a feature request
Projects
None yet
Development

No branches or pull requests

2 participants