Skip to content
This repository has been archived by the owner on Jan 8, 2024. It is now read-only.

Feature request: More control over Kaniko build arguments #3199

Closed
acaloiaro opened this issue Apr 8, 2022 · 1 comment
Closed

Feature request: More control over Kaniko build arguments #3199

acaloiaro opened this issue Apr 8, 2022 · 1 comment
Labels
enhancement New feature or request plugin/kaniko

Comments

@acaloiaro
Copy link
Contributor

acaloiaro commented Apr 8, 2022

Is your feature request related to a problem? Please describe.
Image build times on remote runners with Kaniko can be painfully slow, but changing its snapshot mode often yields significant gains. Particularly for complex Dockerfiles that trigger many filesystem snapshots.

Because of this, I've taken to patching my ODRs by adding --snapshotMode=redo to Kaniko's argument list.

Describe the solution you'd like
I would like a waypoint.hcl build setting that configures Kaniko's snapshotMode.

Describe alternatives you've considered

  • Continuing to patch ODR builds.
  • Using local runners, which has implications for our security posture since it requires the Nomad API to be accessible to build and development systems.

Explain any additional use-cases

Additional context

@acaloiaro acaloiaro added the new label Apr 8, 2022
@acaloiaro acaloiaro changed the title More control over Kaniko build arguments Feature request: More control over Kaniko build arguments Apr 8, 2022
@briancain briancain added enhancement New feature or request plugin/kaniko and removed new labels Apr 8, 2022
@acaloiaro
Copy link
Contributor Author

There doesn't appear to be interest in this.

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

No branches or pull requests

3 participants