Skip to content

Instantly share code, notes, and snippets.

@weiland
Last active July 8, 2024 10:59
Show Gist options
  • Save weiland/32cd605860caf8c585a6310c2ef46ceb to your computer and use it in GitHub Desktop.
Save weiland/32cd605860caf8c585a6310c2ef46ceb to your computer and use it in GitHub Desktop.
Run GitHub's Super Linter locally (with docker)

Run GitHub's Super Linter locally (with docker)

on a mac:

docker run --platform linux/amd64 \                                                                                                                                               12:48:47
        -e LOG_LEVEL=DEBUG \
        -e RUN_LOCAL=true \
        -v .:/tmp/lint \
        --rm \
        ghcr.io/super-linter/super-linter:latest

On non-macOS platforms omit the --platform linux/amd64 flag.

NOTE: You have to be logged in to GHCR.io (docker login ghcr.io with username and access token)

This will also work with OrbStack.app.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment