Sign inSign up

sswconsulting/codeauditor

By sswconsulting

•Updated 7 months ago

Image
0

10K+

sswconsulting/codeauditor repository overview

⁠Run CodeAuditor in your CI/CD pipeline

Scan any website for broken links and HTML issues by running the following command:

$ docker run sswconsulting/codeauditor --url <URL>

You can also get Lighthouse⁠ report score by running

$ docker container run --rm --cap-add=SYS_ADMIN sswconsulting/codeauditor --url <URL> --lighthouse

What is --cap-add=SYS_ADMIN option? Read here⁠

⁠Sign up at https://codeauditor.com/⁠

If you sign up⁠, you will get a unique token which allow you to store last 100 scan results online for FREE

$ docker run sswconsulting/codeauditor --url <URL> --buildId <BUILDID> --token <TOKEN>

Where: BUILDID [optional]: your CI build number

Or with Lighthouse options

$ docker container run --rm --cap-add=SYS_ADMIN sswconsulting/codeauditor --url <URL> --lighthouse --buildId <BUILDID> --token <TOKEN>

Run help for all command line options:

$ docker run sswconsulting/codeauditor --help
⁠Static Code Analysis

Include Static Code Analysis⁠:

$ docker container run --cap-add=SYS_ADMIN \
    -v "<YOUR_SOURCE_CODE>:/home/lhci/app/src" \
    sswconsulting/codeauditor --lighthouse --url <URL>
⁠Using smaller image

You can also run lighthouse tool directly on your build server and have the result published to https://codeauditor.com/⁠

$ npm install -g @lhci/cli
$ lhci collect --url=<URL>
$ docker container run --rm -v "$PWD/.lighthouseci:/usr/app/.lighthouseci" sswconsulting/codeauditor:light --url <URL> --lighthouse --token <TOKEN>

Tag summary

Content type

Image

Digest

sha256:cf65bff88…

Size

284.4 MB

Last updated

7 months ago

docker pull sswconsulting/codeauditor