codeql-agent-extension icon indicating copy to clipboard operation
codeql-agent-extension copied to clipboard

The mac of the arm architecture reports an error

Open webca7 opened this issue 3 years ago • 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

webca7 avatar Aug 25 '22 02:08 webca7

Hi @webca7, thank you for your info.

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

vovikhangcdv avatar Sep 12 '22 03:09 vovikhangcdv