diff --git a/.security-lint.json.example b/.security-lint.json.example index a4438a9..880c8e3 100644 --- a/.security-lint.json.example +++ b/.security-lint.json.example @@ -1,5 +1,4 @@ { - "$schema": "https://raw.githubusercontent.com/security-linter/php-laravel/main/schema/config.json", "$comment": "Example configuration file for PHP/Laravel Security Linter", "severity": "low", diff --git a/php-security-lint b/php-security-lint index 89d660a..743defe 100755 --- a/php-security-lint +++ b/php-security-lint @@ -11,8 +11,9 @@ # php-security-lint -s high -f json . # # Installation: -# curl -o /usr/local/bin/php-security-lint https://raw.githubusercontent.com/your-org/php-laravel-security-linter/main/php-security-lint -# chmod +x /usr/local/bin/php-security-lint +# Copy this script to /usr/local/bin/ after building the Docker image: +# sudo cp php-security-lint /usr/local/bin/ +# sudo chmod +x /usr/local/bin/php-security-lint # set -e @@ -106,11 +107,10 @@ check_image() { else echo -e "${RED}Error: Docker image '$DOCKER_IMAGE' not found.${NC}" >&2 echo "" >&2 - echo "To build the image, run from the security-linter directory:" >&2 + echo "To build the image, clone the repository and run:" >&2 + echo " git clone https://opensource.rogarithm.net/rogarithm/php-security-linter.git" >&2 + echo " cd php-security-linter" >&2 echo " docker build -t php-security-linter:latest ." >&2 - echo "" >&2 - echo "Or pull from registry (if published):" >&2 - echo " docker pull your-org/php-security-linter:latest" >&2 exit 1 fi fi