Skip to content

Analyzer fails on alpine based containers #245

Description

@crewone

Describe the bug
Using alpine linux on a CI provider, the static analuzer fails.

DATADOG_STATIC_ANALYZER_URL: https://github.com/DataDog/datadog-static-analyzer/releases/latest/download/datadog-static-analyzer-x86_64-unknown-linux-gnu.zip

$ unzip /tmp/ddog-static-analyzer.zip -d /tmp
Archive:  /tmp/ddog-static-analyzer.zip
  inflating: datadog-static-analyzer-server
  inflating: datadog-static-analyzer
  inflating: datadog-export-rulesets
$ mv /tmp/datadog-static-analyzer /usr/local/datadog-static-analyzer
$ /usr/local/datadog-static-analyzer -i . -o /tmp/report.sarif -f sarif
Error relocating /lib/ld-linux-x86-64.so.2: unsupported relocation type 37

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions