Skip to content

Latest commit

 

History

History
40 lines (27 loc) · 1005 Bytes

README.md

File metadata and controls

40 lines (27 loc) · 1005 Bytes

Docker version of Insolita Unused Scanner

based on Unused Scanner tool by Insolita found at: https://github.com/Insolita/unused-scanner

How to use:

docker run -v `pwd`:/app juanmrad/unused-scanner ./unused.php

Power Users:

For power users with different configs:

# Add project dir reference. 
PROJECT_DIR=$(pwd)

# Add location of config file relative to docker container
CONFIG=/workdir/config/unused-scanner/prod.php

# Image Tag:
# tag is defined as: juanmrad/unused-scanner:[package version]
PHP_UNUSED_SCANNER=juanmrad/unused-scanner:2.3.0

docker run \
    --rm \
    -v $PROJECT_DIR:/workdir \
    -w /workdir \
    $IMAGE \
    $CONFIG

Docker versions:

Current and previous versions of the docker images can be found here.

How to contribute:

Since this is just the docker version of an already existing package you can help the package itself here.