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

Make script runnable on Alpine, faster Kubernetes builds #26

Merged
merged 2 commits into from
Sep 18, 2023

Conversation

href
Copy link
Contributor

@href href commented Sep 17, 2023

Two somewhat unrelated changes that you may or may not care for:

  1. Switch to /usr/bin/env bash, so that the bakery scripts can be run on Alpine (i.e., inside some Docker containers).
  2. Download some Kubernetes dependencies in parallel, to be slightly faster.

How to use

The easiest way to test both changes, is to create a new Kubernetes sysext build.

Testing done

I built the Kubernetes sysext on the official Alpine-based Bash image.

href added 2 commits September 4, 2023 08:03
The latter does not work on all distros/images. For example, it will
fail on the official bash docker image, based on Alpine.
With this change `create_kubernetes_sysext` builds slightly faster.
Copy link
Member

@pothos pothos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@pothos pothos merged commit 33e0e21 into flatcar:main Sep 18, 2023
@href
Copy link
Contributor Author

href commented Sep 18, 2023

Thank you for merging!

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

Successfully merging this pull request may close these issues.

2 participants