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

Kubernetes: docker build configurations are ignored #176

Open
samuelbernardolip opened this issue Dec 16, 2021 · 0 comments
Open

Kubernetes: docker build configurations are ignored #176

samuelbernardolip opened this issue Dec 16, 2021 · 0 comments
Milestone

Comments

@samuelbernardolip
Copy link
Collaborator

With Kubernetes is expected the images to be already released in a container registry for the infrastructure deployment. Because of that the config.yml properties supported with docker-compose composer for that purpose are ignored on kubernetes composer.

Anyway there are a solution provided by Google to build images on Kubernetes that will build docker in docker: kaniko is an open-source container image-building tool. A quick guide with all details about using kaniko is published in devopskube site. So the suggested approach to build images on Kubernetes is represented by a job that will run in a pod and push the image to the registry in the end. This will be part of the kubernetes deployment or by an independent stage that can be defined in Jenkinsfile to run the required podTemplate as referenced in devopskube quick guide.

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

No branches or pull requests

1 participant