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

Use crane to speed up image builds #61

Open
trevor-dolby-at-ibm-com opened this issue Nov 12, 2024 · 0 comments
Open

Use crane to speed up image builds #61

trevor-dolby-at-ibm-com opened this issue Nov 12, 2024 · 0 comments

Comments

@trevor-dolby-at-ibm-com
Copy link
Contributor

trevor-dolby-at-ibm-com commented Nov 12, 2024

Google's crane tool (docs here) allows the creation of application images by appending a layer to a base image without needing to download the base image locally. This has the potential to speed up Tekton builds by avoiding the buildah/kaniko "download and unpack" stage of the build: crane can simply append the application tar file to the image in the registry.

This will affect Tekton in Minikube and OpenShift, but not Jenkins (which uses docker locally) nor ACEaaS (which requires BAR file uploads). GitHub Actions could be enabled for container builds using crane also, but they do not currently go beyond the Unit Test phase and so are also unaffected at this point.

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

No branches or pull requests

1 participant