-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Feature Request: Kaniko example usage as a library? #299
Comments
Thanks for opening this @StevenACoffman ! Note that Kaniko uses https://github.com/google/go-containerregistry under the hood, which might meet your needs - if not, can you give us some examples of what you'd like to do with this library? |
Thanks! I would like make a github commit generate a docker container with a AWS Lambda invocation. I can easily make an AWS Lambda webhook listener that subscribes to github events like commits, but then I need to go tell some other server to start up to build the container with kaniko. I can use AWS Codebuild, or leave some persistent servers around even when I don't need them, but I'd rather just use kaniko inside a lambda. |
Re-triaging -- would this not be also possible with AWS Fargate? That's more of a good use case for Kaniko, methinks... |
@bobcatfish you didn't reply on the use case explained by @StevenACoffman since 3+ years. |
For Go code, I actually had a lot better luck using google/ko as a library per ko-build/ko#554 https://gist.github.com/imjasonh/62d8e613cdc8a0953ff970c1cccdba2d |
+1 Kaniko on AWS Lambda |
I also wanted to use kaniko on AWS Lambda. I think maybe |
I would love to be able to invoke kaniko as an AWS Lambda or google cloud function.
I am not sure if anyone has already attempted this, and I know it's pretty different than standard usage. Just thought I'd mention in case there was other interest.
The text was updated successfully, but these errors were encountered: