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

support github action cross build for arm64 #180

Closed
xiaods opened this issue Nov 15, 2021 · 3 comments
Closed

support github action cross build for arm64 #180

xiaods opened this issue Nov 15, 2021 · 3 comments
Labels
good first issue Good for newcomers

Comments

@xiaods
Copy link
Owner

xiaods commented Nov 15, 2021

refs: https://cloud.tencent.com/developer/article/1884133

@xiaods xiaods added the good first issue Good for newcomers label Nov 15, 2021
@xiaods
Copy link
Owner Author

xiaods commented Nov 15, 2021

// hide process arguments from ps output, since they may contain
// database credentials or other secrets.
gspt.SetProcTitle(os.Args[0] + " server")

need cross compile

@xiaods
Copy link
Owner Author

xiaods commented Nov 16, 2021

runc comments: opencontainers/runc#2566

runc has C code embedded inside it in order to run (this code is a core part of container setup and can't be disabled) -- so you'll need to have libc enabled when you build runc. However you can always just use our static binaries (see the releases page) which mean you don't need libc dependencies at runtime.

@xiaods
Copy link
Owner Author

xiaods commented Nov 16, 2021

k3s-io/k3s#2014
we only use etcd to store state, so need remove
Call setproctitle to conceal node args in ps output
k3s-io/k3s#2072 should be removed

@xiaods xiaods closed this as completed Nov 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant