-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
skaffold init for Java applications #1264
Comments
That's a duplicate of #1093 but I'm going to keep your ticket because it's more detailed :-) |
Some options for when there might be a mix of Dockerfiles and Maven/Gradle.
I think we should go with the survey with all the choices since otherwise, it would be hard to differentiate which artifact should use which. |
I like the survey idea. Is skaffold init designed to only work for single artifacts at the moment? I imagine it would get pretty complex pretty fast if it started searching for one or more artifacts to configure. |
I wondered about handling multi-module projects. I guess we could look for locations with a |
This can be close, we are waiting for #2842 to make this feature active. |
Expected behavior
skaffold init
on a Java project (with Maven or Gradle) will produce the defaultskaffold.yaml
with the corresponding Jib builder configuration.Actual behavior
skaffold init
requires Dockerfile to be present and fails with:FATA[0001] one or more valid Dockerfiles must be present to run skaffold; please provide at least one Dockerfile and try again
However, Dockerfile is not needed for Jib.
Information
Steps to reproduce the behavior
skaffold init
The text was updated successfully, but these errors were encountered: