codeql-agent-project/codeql-agent-extension

The mac of the arm architecture reports an error

Opened this issue · 1 comments

CodeQL Agent running Codeql scan: docker run --rm --name codeql-agent-docker -v "/Users/test/tools/code_review/src/java/JSH_ERP-v3.2:/opt/src" -e "USERID=$(id -u ${USER})" -e "GROUPID=$(id -g ${USER})" -v "/Users/test/tools/code_review/src/java/JSH_ERP-v3.2/codeql-agent-results:/opt/results" -e "THREADS=0" -e "FORMAT=sarif-latest" doublevkay/codeql-agent-dev...
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested

Add parameter to docker command
--platform linux/amd64

Hi @webca7, thank you for your info.

We noticed the incompatible with ARM architecture and working on it. You can follow the issue at codeql-agent-project/codeql-agent-docker#1.