Skip to content

Conversation

zhuowei
Copy link

@zhuowei zhuowei commented Sep 11, 2025

Detect arm64 Linux and download jq, kind, and kubectl for arm64.

Per #378, this isn't enough for full arm64 support (the containers would also need to be rebuilt), but this is at least useful for running kctf while using qemu-user emulation for the containers.

@@ -31,6 +31,19 @@ if [[ "$OSTYPE" =~ ^darwin.* ]]; then
fi
export KCTF_CTF_DIR="$(realpath "$(dirname "${script_dir}")")"
unset script_dir
elif [[ "$HOSTTYPE" =~ ^aarch64.* ]]; then
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can you add a log warning somewhere that aarch64 is not fully supported (with what you mentioned in the pull request)?
Otherwise lgtm!

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