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

Implementing docker build command with Kaniko #37

Open
ismailbaskin opened this issue May 23, 2023 · 1 comment
Open

Implementing docker build command with Kaniko #37

ismailbaskin opened this issue May 23, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@ismailbaskin
Copy link

Hi,

I've observed that our current feature set lacks support for the docker build command. To enrich our capabilities, I propose the use of Kaniko, a tool designed to build Docker images in environments such as Kubernetes, without a Docker daemon.

My suggestion is to trigger a Kaniko Job on each docker build command issued, allowing the Docker image to be built and pushed directly to the specified registry within the Kubernetes cluster.

I believe this addition would significantly streamline Docker image building and deployment processes, especially beneficial in CI/CD contexts.

I'm eager to discuss this further and potentially contribute to its implementation.

Thanks.

@joyrex2001 joyrex2001 added the enhancement New feature or request label May 25, 2023
@joyrex2001
Copy link
Owner

From an implementation perspective, I would like to offload this to something pluggable. For example, if a build call is made, it would offload it to another service which would build and publish the container. This would move most of the complexity to another layer (which can used kaniko, buildah, ... to build), and would have the registry config complexity managed there as well. Maybe directly proxying the relevant API call(s) to a pre-configured endpoint in kubedock would be sufficient in that case.

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

No branches or pull requests

2 participants