Wraps the Local PHP Security Checker inside a small Docker container.
207
The Local PHP Security Checker inside a small Docker container.
cd /yourproject
docker run --rm -v $PWD:/app martijn/php-security-checker .
# create a shared folder
mkdir -p ~/tmp/psc
# download the database
docker run -v ~/tmp/psc:/tmp -v $PWD:/app martijn/php-security-checker --update-cache
# project 1
docker run -v ~/tmp/psc:/tmp -v $PWD:/app martijn/php-security-checker --local
# project 2
docker run -v /shared/tmp:/tmp -v $PWD:/app martijn/php-security-checker --local
# ... etc
More information:
Content type
Image
Digest
Size
2.2 MB
Last updated
over 5 years ago
docker pull martijn/php-security-checker